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