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

Merge pull request #2044 from frederic34/patch-3

#1666 Clear sort filter works partially in product/services
parents 6c7bab8d cd3bafbe
Branches
No related tags found
No related merge requests found
...@@ -87,12 +87,14 @@ else $result=restrictedArea($user,'produit|service','','','','','',$objcanvas); ...@@ -87,12 +87,14 @@ else $result=restrictedArea($user,'produit|service','','','','','',$objcanvas);
* Actions * Actions
*/ */
if (isset($_POST["button_removefilter_x"])) if (GETPOST("button_removefilter_x"))
{ {
$sref=""; $sref="";
$sbarcode=""; $sbarcode="";
$snom=""; $snom="";
$search_categ=0; $search_categ=0;
$tosell="";
$tobuy="";
} }
...@@ -379,7 +381,7 @@ else ...@@ -379,7 +381,7 @@ else
print '<td class="liste_titre nowrap" align="right">'; print '<td class="liste_titre nowrap" align="right">';
print '<input type="image" class="liste_titre" name="button_search" src="'.img_picto($langs->trans("Search"),'search.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("Search")).'" title="'.dol_escape_htmltag($langs->trans("Search")).'">'; print '<input type="image" class="liste_titre" name="button_search" src="'.img_picto($langs->trans("Search"),'search.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("Search")).'" title="'.dol_escape_htmltag($langs->trans("Search")).'">';
print '<input type="image" class="liste_titre" name="button_removefilter" src="'.img_picto($langs->trans("Search"),'searchclear.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("Search")).'" title="'.dol_escape_htmltag($langs->trans("Search")).'">'; print '<input type="image" class="liste_titre" name="button_removefilter" src="'.img_picto($langs->trans("RemoveFilter"),'searchclear.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'" title="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'">';
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment