mirror of
https://github.com/openclassify/openclassify.git
synced 2026-03-10 02:05:27 -05:00
celep bug fixes
This commit is contained in:
parent
a5b8054acd
commit
8f245f9467
@ -160,7 +160,8 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
||||
|
||||
public function popularAdvs()
|
||||
{
|
||||
return $this->getAdv()->orderBy('count_show_ad', 'desc')->limit(10)->get();
|
||||
return $this->getAdv()->where('status', 'approved')
|
||||
->orderBy('count_show_ad', 'desc')->limit(10)->get();
|
||||
}
|
||||
|
||||
public function advsofDay()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user