mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#1089 fixed profile my ads
This commit is contained in:
parent
13125048e9
commit
295d71e2c2
@ -79,7 +79,8 @@ class AjaxController extends PublicController
|
||||
$page_title = trans('visiosoft.module.advs::field.my_adv.name');
|
||||
$my_advs = $my_advs->myAdvsByUser();
|
||||
}
|
||||
$my_advs = $my_advs->orderByDesc('id');
|
||||
$my_advs = $my_advs->orderByDesc('id')->select(['id', 'cover_photo', 'slug', 'price',
|
||||
'currency', 'city', 'country_id', 'cat1', 'cat2', 'status']);
|
||||
$my_advs = $advRepository->addAttributes($my_advs->get());
|
||||
|
||||
foreach ($my_advs as $index => $ad) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user