mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#1140 [fuardayim] remove allAdvs
This commit is contained in:
parent
6abea4e223
commit
53e439d20a
@ -41,7 +41,7 @@ class AdvCriteria extends EntryCriteria
|
||||
->where('status', '=', 'approved')
|
||||
->where('slug', '!=', '')
|
||||
->orderBy('publish_at', 'desc')
|
||||
->paginate($this->settings->value('visiosoft.theme.base::s-type-latest-limit'));
|
||||
->paginate($this->settings->value('streams::per_page'));
|
||||
|
||||
$ads = $advModel->getLocationNames($latest_advs);
|
||||
foreach ($ads as $index => $ad) {
|
||||
@ -58,7 +58,7 @@ class AdvCriteria extends EntryCriteria
|
||||
->whereDate('finish_at', '>=', date("Y-m-d H:i:s"))
|
||||
->where('status', '=', 'approved')
|
||||
->where('slug', '!=', '')
|
||||
->paginate($this->settings->value('visiosoft.theme.base::s-type-latest-limit'));
|
||||
->paginate($this->settings->value('streams::per_page'));
|
||||
|
||||
$ads = $advModel->getLocationNames($latest_advs);
|
||||
foreach ($ads as $index => $ad) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user