From f4a533bafa2685c2853cc7411b8adb819f27ab5e Mon Sep 17 00:00:00 2001 From: philippe grand Date: Sun, 8 May 2016 16:09:00 +0200 Subject: [PATCH] Fix : when MAIN_VIEW_LINE_NUMBER is on --- htdocs/adherents/list.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php index 01ce37ee3a8..4689b147cab 100644 --- a/htdocs/adherents/list.php +++ b/htdocs/adherents/list.php @@ -347,7 +347,7 @@ if ($resql) print ''; if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { - print ' '; + print ''.$langs->trans("NumberingShort").''; } if (! empty($arrayfields['d.ref']['checked'])) print_liste_field_titre($arrayfields['d.ref']['label'],$_SERVER["PHP_SELF"],'d.rowid','',$param,'',$sortfield,$sortorder); if (! empty($arrayfields['d.firstname']['checked'])) print_liste_field_titre($arrayfields['d.firstname']['label'],$_SERVER["PHP_SELF"],'d.firstname','',$param,'',$sortfield,$sortorder); @@ -388,6 +388,12 @@ if ($resql) // Line for filters fields print ''; + // Line numbering + if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER)) + { + print ' '; + } + // Ref if (! empty($arrayfields['d.ref']['checked'])) {