From b364b2a4de06564d376f82fba948077dce1fcf54 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 Feb 2018 01:16:51 +0100 Subject: [PATCH] Fix selection of filter in agenda views --- htdocs/comm/action/list.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index a0e91a120f9..33f9b86a1df 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -140,6 +140,7 @@ if (is_array($extrafields->attribute_label) && count($extrafields->attribute_lab } } + /* * Actions */ @@ -353,15 +354,15 @@ if ($resql) print ''; print ''; $nav=''; - if ($optioncss != '') $nav.= ''; - //if ($actioncode) $nav.=''; - if ($resourceid) $nav.=''; - if ($filter) $nav.=''; - if ($filtert) $nav.=''; - if ($socid) $nav.=''; - if ($showbirthday) $nav.=''; - if ($pid) $nav.=''; - if ($usergroup) $nav.=''; + + //if ($actioncode) $nav.=''; + //if ($resourceid) $nav.=''; + if ($filter) $nav.=''; + if ($filtert) $nav.=''; + //if ($socid) $nav.=''; + if ($showbirthday) $nav.=''; + //if ($pid) $nav.=''; + //if ($usergroup) $nav.=''; print $nav; dol_fiche_head($head, $tabactive, $langs->trans('Agenda'), 0, 'action');