mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
Merge pull request #403 from openclassify/vedat
#1089 fixed profile my ads
This commit is contained in:
commit
e996f60e6f
@ -79,7 +79,8 @@ class AjaxController extends PublicController
|
|||||||
$page_title = trans('visiosoft.module.advs::field.my_adv.name');
|
$page_title = trans('visiosoft.module.advs::field.my_adv.name');
|
||||||
$my_advs = $my_advs->myAdvsByUser();
|
$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());
|
$my_advs = $advRepository->addAttributes($my_advs->get());
|
||||||
|
|
||||||
foreach ($my_advs as $index => $ad) {
|
foreach ($my_advs as $index => $ad) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user