#1 Adding and fixing the demo ad images (make it local)

This commit is contained in:
Diatrex 2019-11-15 15:44:23 +03:00
parent 19e76d4111
commit cfe409901c

View File

@ -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()