|
@@ -22,6 +22,9 @@ class CmsContentTemplateRepository {
|
|
if (isset($request['is_open'])){
|
|
if (isset($request['is_open'])){
|
|
$where[] = ['is_open',$request['is_open']];
|
|
$where[] = ['is_open',$request['is_open']];
|
|
}
|
|
}
|
|
|
|
+ if (isset($request['city_id'])){
|
|
|
|
+ $where[] = ['city_id',$request['city_id']];
|
|
|
|
+ }
|
|
|
|
|
|
return $this->cmsContentTemplate->where($where)->orderBy('id', 'asc')->paginate($perPage);
|
|
return $this->cmsContentTemplate->where($where)->orderBy('id', 'asc')->paginate($perPage);
|
|
|
|
|