mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
fixed location filter
This commit is contained in:
parent
b9a736cc55
commit
af2d07b002
@ -67,7 +67,7 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!setting_value('visiosoft.module.location::hide_location_filter') and isset($param['country'])) {
|
if (!setting_value('visiosoft.module.location::hide_location_filter')) {
|
||||||
$country = !empty($param['country']) ? $param['country'] : setting_value('visiosoft.module.location::default_country');
|
$country = !empty($param['country']) ? $param['country'] : setting_value('visiosoft.module.location::default_country');
|
||||||
if ($country) {
|
if ($country) {
|
||||||
$query = $query->where('country_id', $country);
|
$query = $query->where('country_id', $country);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user