review || GETPOST("button_removefilter")
This commit is contained in:
parent
eea4815312
commit
41b0b57743
@ -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='';
|
||||
}
|
||||
|
||||
@ -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 = '';
|
||||
}
|
||||
|
||||
@ -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='';
|
||||
}
|
||||
|
||||
@ -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 = '';
|
||||
}
|
||||
|
||||
@ -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 = '';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user