1
This commit is contained in:
parent
72d815ac4d
commit
abe38eed91
@ -85,7 +85,8 @@ class MallController extends BaseAuthedController {
|
|||||||
$arrPriceFilter = explode('|', $priceFilters);
|
$arrPriceFilter = explode('|', $priceFilters);
|
||||||
$priceLow = $arrPriceFilter[0];
|
$priceLow = $arrPriceFilter[0];
|
||||||
$priceHigh = $arrPriceFilter[1];
|
$priceHigh = $arrPriceFilter[1];
|
||||||
return "AND (price >= ${priceLow} AND price <= ${priceHigh})";
|
return " AND (length(price) >= length('${priceLow}') AND length(price) <= length('${priceHigh}')) "
|
||||||
|
. " AND (price >= '${priceLow}' AND price <= '${priceHigh}') ";
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user