mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#697 Celep homepage theme [Integration to OC]
This commit is contained in:
parent
60e2e3830a
commit
1fa6d06d21
@ -78,7 +78,7 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
|||||||
if (!empty($param['country'])) {
|
if (!empty($param['country'])) {
|
||||||
$query = $query->where('country_id', $param['country']);
|
$query = $query->where('country_id', $param['country']);
|
||||||
}
|
}
|
||||||
if (isset($param['city']) and !empty(array_filter($param['city']))) {
|
if (isset($param['city']) and !empty($param['city']) and !empty(array_filter($param['city']))) {
|
||||||
$query = $query->whereIn('city', $param['city']);
|
$query = $query->whereIn('city', $param['city']);
|
||||||
}
|
}
|
||||||
if (!empty($param['cat'])) {
|
if (!empty($param['cat'])) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user