review || GETPOST("button_removefilter")

This commit is contained in:
Florian HENRY 2015-02-08 11:01:27 +01:00
parent eea4815312
commit 41b0b57743
5 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ if (! $sortfield) $sortfield="c.date_commande";
$search_month = GETPOST('search_month', 'aplha');
$search_year = GETPOST('search_year', 'int');
if (GETPOST("button_removefilter_x")) {
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) {
$search_month='';
$search_year='';
}

View File

@ -67,7 +67,7 @@ if (! $sortfield)
$search_month = GETPOST('search_month', 'aplha');
$search_year = GETPOST('search_year', 'int');
if (GETPOST("button_removefilter_x")) {
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) {
$search_month = '';
$search_year = '';
}

View File

@ -62,7 +62,7 @@ if (! $sortfield) $sortfield="f.datef";
$search_month = GETPOST('search_month', 'aplha');
$search_year = GETPOST('search_year', 'int');
if (GETPOST("button_removefilter_x")) {
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) {
$search_month='';
$search_year='';
}

View File

@ -63,7 +63,7 @@ if (! $sortfield) $sortfield = "f.datef";
$search_month = GETPOST('search_month', 'aplha');
$search_year = GETPOST('search_year', 'int');
if (GETPOST("button_removefilter_x")) {
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) {
$search_month = '';
$search_year = '';
}

View File

@ -61,7 +61,7 @@ if (! $sortfield) $sortfield = "p.datep";
$search_month = GETPOST('search_month', 'aplha');
$search_year = GETPOST('search_year', 'int');
if (GETPOST("button_removefilter_x")) {
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) {
$search_month = '';
$search_year = '';
}