mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#1 Adding and fixing the demo ad images (make it local)
This commit is contained in:
parent
19e76d4111
commit
cfe409901c
@ -152,7 +152,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
||||
|
||||
public function popularAdvs()
|
||||
{
|
||||
return $this->getAdv()->where('popular_adv', 1)->paginate(2);
|
||||
return $this->getAdv()->orderBy('count_show_ad', 'desc')->limit(10)->get();
|
||||
}
|
||||
|
||||
public function advsofDay()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user