FIX missing filters during ordering
This commit is contained in:
parent
be21405d21
commit
eb224e43a5
@ -384,6 +384,7 @@ if ($resql)
|
||||
if ($search_zip) $param.='&search_zip='.urlencode($search_zip);
|
||||
if ($socid > 0) $param.='&socid='.urlencode($socid);
|
||||
if ($optioncss != '') $param.='&optioncss='.urlencode($optioncss);
|
||||
if ($search_product_category != '') $param.='&search_product_category='.$search_product_category;
|
||||
|
||||
// Add $param from extra fields
|
||||
foreach ($search_array_options as $key => $val)
|
||||
|
||||
@ -627,6 +627,13 @@ if ($resql)
|
||||
if ($show_files) $param.='&show_files=' .$show_files;
|
||||
if ($optioncss != '') $param.='&optioncss='.$optioncss;
|
||||
if ($billed != '') $param.='&billed='.$billed;
|
||||
if ($search_town != '')$param .= '&search_town='.$search_town;
|
||||
if ($search_zip != '')$param .= '&search_zip='.$search_zip;
|
||||
if ($search_state != '')$param .= '&search_state='.$search_state;
|
||||
if ($search_country != '')$param .= '&search_country='.$search_country;
|
||||
if ($search_type_thirdparty != '')$param .= '&search_type_thirdparty='.$search_type_thirdparty;
|
||||
if ($search_product_category != '')$param .= '&search_product_category='.$search_product_category;
|
||||
|
||||
// Add $param from extra fields
|
||||
foreach ($search_array_options as $key => $val)
|
||||
{
|
||||
|
||||
@ -563,6 +563,9 @@ if ($resql)
|
||||
if ($show_files) $param.='&show_files=' .$show_files;
|
||||
if ($option) $param.="&option=".$option;
|
||||
if ($optioncss != '') $param.='&optioncss='.$optioncss;
|
||||
if ($search_town)$param .= '&search_town='.urlencode($search_town);
|
||||
if ($search_zip)$param .= '&search_zip='.urlencode($search_zip);
|
||||
|
||||
// Add $param from extra fields
|
||||
foreach ($search_array_options as $key => $val)
|
||||
{
|
||||
|
||||
@ -51,6 +51,7 @@ $search_type_thirdparty=GETPOST("search_type_thirdparty",'int');
|
||||
$search_billed=GETPOST("search_billed",'int');
|
||||
$sall = GETPOST('sall', 'alphanohtml');
|
||||
$optioncss = GETPOST('optioncss','alpha');
|
||||
$search_ref_customer=GETPOST("search_ref_customer");
|
||||
|
||||
$limit = GETPOST('limit','int')?GETPOST('limit','int'):$conf->liste_limit;
|
||||
$sortfield = GETPOST('sortfield','alpha');
|
||||
@ -141,6 +142,7 @@ if (GETPOST('button_removefilter_x','alpha') || GETPOST('button_removefilter.x',
|
||||
$search_billed='';
|
||||
$viewstatut='';
|
||||
$search_array_options=array();
|
||||
$search_ref_customer='';
|
||||
}
|
||||
|
||||
if (empty($reshook))
|
||||
@ -267,6 +269,10 @@ if ($resql)
|
||||
if ($search_ref_liv) $param.= "&search_ref_liv=".$search_ref_liv;
|
||||
if ($search_company) $param.= "&search_company=".$search_company;
|
||||
if ($optioncss != '') $param.='&optioncss='.$optioncss;
|
||||
if ($search_town)$param .= '&search_town='.urlencode($search_town);
|
||||
if ($search_zip)$param .= '&search_zip='.urlencode($search_zip);
|
||||
if ($search_ref_customer)$param .= '&search_ref_customer='.$search_ref_customer;
|
||||
if ($viewstatut != '')$param .= '&viewstatut='.$viewstatut;
|
||||
// Add $param from extra fields
|
||||
foreach ($search_array_options as $key => $val)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user