mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Fix: Search all is lost on lists when pagination or when the columns are sorted
This commit is contained in:
@@ -129,12 +129,6 @@ if ($result)
|
|||||||
|
|
||||||
$moreforfilter='';
|
$moreforfilter='';
|
||||||
|
|
||||||
|
|
||||||
if ($search_ref) $sql.= natural_search("e.label", $search_ref); // ref
|
|
||||||
if ($search_label) $sql.= natural_search("e.lieu", $search_label); // label
|
|
||||||
if ($search_status != '' && $search_status >= 0) $sql.= " AND e.statut = ".$search_status;
|
|
||||||
if ($sall) $sql .= natural_search(array_keys($fieldstosearchall), $sall);
|
|
||||||
|
|
||||||
print '<table class="liste '.($moreforfilter?"listwithfilterbefore":"").'">';
|
print '<table class="liste '.($moreforfilter?"listwithfilterbefore":"").'">';
|
||||||
|
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
|
|||||||
Reference in New Issue
Block a user