mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
commit
67b3f1dbfd
@ -421,6 +421,7 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
|||||||
return DB::table('advs_advs')
|
return DB::table('advs_advs')
|
||||||
->whereDate('finish_at', '>=', date("Y-m-d H:i:s"))
|
->whereDate('finish_at', '>=', date("Y-m-d H:i:s"))
|
||||||
->where('status', 'approved')
|
->where('status', 'approved')
|
||||||
|
->whereNull('deleted_at')
|
||||||
->where('slug', '!=', '')
|
->where('slug', '!=', '')
|
||||||
->where('cat' . $level, $catID)
|
->where('cat' . $level, $catID)
|
||||||
->count();
|
->count();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user