Skip to content
Snippets Groups Projects
Commit a111c476 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fixed: Filter lost with navigation

parent b7dbb1e9
Branches
Tags
No related merge requests found
...@@ -121,7 +121,13 @@ if ($result) ...@@ -121,7 +121,13 @@ if ($result)
{ {
$num = $db->num_rows($result); $num = $db->num_rows($result);
$urlparam="&socid=$socid"; $urlparam='';
if ($socid) $urlparam.="&socid=".$socid;
if ($search_ref) $urlparam.="&search_ref=".urlencode($search_ref);
if ($search_company) $urlparam.="&search_company=".urlencode($search_company);
if ($search_desc) $urlparam.="&search_desc=".urlencode($search_desc);
if ($search_status != '' && $search_status > -1) $urlparam.="&search_status=".urlencode($search_status);
print_barre_liste($langs->trans("ListOfInterventions"), $page, $_SERVER['PHP_SELF'], $urlparam, $sortfield, $sortorder, '', $num); print_barre_liste($langs->trans("ListOfInterventions"), $page, $_SERVER['PHP_SELF'], $urlparam, $sortfield, $sortorder, '', $num);
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n"; print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">'."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment