Commit 9ce27f2123094933cf46f5ecff47056badf3abdf
1 parent
cc0040e6fe
Exists in
master
show only not hidden vacancies
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
app/Http/Controllers/MainController.php
... | ... | @@ -239,7 +239,7 @@ class MainController extends Controller |
239 | 239 | |
240 | 240 | $Query = $Query->OrderByDesc('updated_at')->paginate(10); |
241 | 241 | |
242 | - $Reclama = reclame::query()->get(); | |
242 | + $Reclama = reclame::query()->where(['is_hidden' => 0])->get(); | |
243 | 243 | |
244 | 244 | if ($request->ajax()) { |
245 | 245 | if ($request->has('title')) { |