From 5e41a98017c3764dd9d385563b6275d8ffafc39a Mon Sep 17 00:00:00 2001 From: Onur Date: Fri, 9 Aug 2019 11:56:27 +0300 Subject: [PATCH] customfield bug fixed --- .../visiosoft/advs-module/resources/views/advs/table.twig | 3 +++ .../advs-module/src/Http/Controller/advsController.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/views/advs/table.twig b/addons/default/visiosoft/advs-module/resources/views/advs/table.twig index a772b41c0..d3a69273b 100644 --- a/addons/default/visiosoft/advs-module/resources/views/advs/table.twig +++ b/addons/default/visiosoft/advs-module/resources/views/advs/table.twig @@ -80,6 +80,9 @@ + {% if entries('advs').isEnabled('customfields') %} + {% include "visiosoft.module.customfields::selecttop" %} + {% endif %}
diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php index 723d7bdf1..278c7ede4 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php @@ -120,7 +120,7 @@ class AdvsController extends PublicController $userProfile = $profileRepository->getProfile($user->id); } $compact = compact('advs', 'countries', 'mainCats', 'subCats', 'textfields', 'checkboxes', 'request', - 'user', 'userProfile', 'featured_advs', 'type', 'topfields', 'ranges'); + 'user', 'userProfile', 'featured_advs', 'type', 'topfields', 'ranges', 'seenList'); Cookie::queue(Cookie::make('last_search', $request->getRequestUri(), 84000));