From 37d0da33dc1c10aca09f83c35b016c52d5552f8e Mon Sep 17 00:00:00 2001 From: muammertop Date: Sun, 18 Apr 2021 16:28:20 +0300 Subject: [PATCH 01/15] category problem solved in new ad, rtl page --- .../visiosoft/advs-module/resources/js/cats.js | 10 ++++++++-- .../advs-module/resources/views/new-ad/post-cat.twig | 12 ++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/addons/default/visiosoft/advs-module/resources/js/cats.js b/addons/default/visiosoft/advs-module/resources/js/cats.js index afec5d5e4..20cb56254 100644 --- a/addons/default/visiosoft/advs-module/resources/js/cats.js +++ b/addons/default/visiosoft/advs-module/resources/js/cats.js @@ -66,9 +66,15 @@ $(document).ready(function () { $(catId).closest('.cat-item-2').show().addClass('focus-select') } } - // Auto scroll right + // Auto scroll right or left let categoryTab = $('.category-tab'); - let pos = categoryTab.scrollLeft() + categoryTab.width(); + let pos; + if (isRtl){ + pos = categoryTab.scrollLeft() - (categoryTab.width() * 2); + $('.cat-item-3').css('display', 'flex'); + } else { + pos = categoryTab.scrollLeft() + categoryTab.width(); + } categoryTab.animate( {scrollLeft: pos}, 1000); }, beforeSend: function () { diff --git a/addons/default/visiosoft/advs-module/resources/views/new-ad/post-cat.twig b/addons/default/visiosoft/advs-module/resources/views/new-ad/post-cat.twig index 7bbde4831..679f5392a 100644 --- a/addons/default/visiosoft/advs-module/resources/views/new-ad/post-cat.twig +++ b/addons/default/visiosoft/advs-module/resources/views/new-ad/post-cat.twig @@ -45,11 +45,13 @@ {% endfor %} -
+
- {{ img('visiosoft.module.advs::images/check.svg').data|raw }} - {{ img('visiosoft.module.advs::images/cross.svg').data|raw }} +
+ {{ img('visiosoft.module.advs::images/check.svg').data|raw }} + {{ img('visiosoft.module.advs::images/cross.svg').data|raw }} +
@@ -63,7 +65,9 @@
- + {{ addBlock('post-cat/section') }} {{ asset_add("scripts.js", "visiosoft.module.advs::js/cats.js") }} From c941077320acb55c3eb487179e611cb6388a7904 Mon Sep 17 00:00:00 2001 From: Diatrex Date: Mon, 19 Apr 2021 16:12:29 +0300 Subject: [PATCH 02/15] #3789 broken category hierarchy + add overflow --- .../src/Http/Controller/AdvsController.php | 17 ----------------- .../views/ads-list/partials/cat-filter.twig | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) 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 f0cb05b3f..599e98b56 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php @@ -2,8 +2,6 @@ use Anomaly\SettingsModule\Setting\Contract\SettingRepositoryInterface; use Anomaly\Streams\Platform\Http\Controller\PublicController; -use Anomaly\Streams\Platform\Message\MessageBag; -use Anomaly\Streams\Platform\Model\Advs\AdvsAdvsEntryModel; use Anomaly\Streams\Platform\Model\Complaints\ComplaintsComplainTypesEntryModel; use Anomaly\Streams\Platform\Support\Currency; use Anomaly\UsersModule\User\Contract\UserRepositoryInterface; @@ -15,21 +13,15 @@ use Visiosoft\AdvsModule\Adv\AdvModel; use Visiosoft\AdvsModule\Adv\Contract\AdvRepositoryInterface; use Visiosoft\AdvsModule\Adv\Event\ChangedStatusAd; use Visiosoft\AdvsModule\Adv\Event\CreatedAd; -use Visiosoft\AdvsModule\Adv\Event\EditAd; use Visiosoft\AdvsModule\Adv\Event\EditedAd; use Visiosoft\AdvsModule\Adv\Event\EditedAdCategory; use Visiosoft\AdvsModule\Adv\Event\PriceChange; -use Visiosoft\AdvsModule\Adv\Event\ShowAdPhone; use Visiosoft\AdvsModule\Adv\Event\ViewAd; use Visiosoft\AdvsModule\Adv\Form\AdvFormBuilder; use Visiosoft\AdvsModule\Option\Contract\OptionRepositoryInterface; use Visiosoft\AdvsModule\OptionConfiguration\Contract\OptionConfigurationRepositoryInterface; use Visiosoft\AdvsModule\OptionConfiguration\OptionConfigurationModel; -use Visiosoft\AdvsModule\Productoption\Contract\ProductoptionRepositoryInterface; -use Visiosoft\AdvsModule\ProductoptionsValue\Contract\ProductoptionsValueRepositoryInterface; -use Visiosoft\CatsModule\Category\CategoryModel; use Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface; -use Visiosoft\FavsModule\Http\Controller\FavsController; use Visiosoft\LocationModule\City\CityModel; use Visiosoft\LocationModule\City\CityRepository; use Visiosoft\LocationModule\Country\Contract\CountryRepositoryInterface; @@ -48,8 +40,6 @@ class AdvsController extends PublicController private $adv_repository; private $optionConfigurationRepository; - private $productOptionRepository; - private $productOptionsValueRepository; private $country_repository; @@ -62,7 +52,6 @@ class AdvsController extends PublicController private $village_model; - private $category_model; private $category_repository; private $requestHttp; @@ -78,8 +67,6 @@ class AdvsController extends PublicController AdvRepositoryInterface $advRepository, OptionConfigurationRepositoryInterface $optionConfigurationRepository, - ProductoptionRepositoryInterface $productOptionRepository, - ProductoptionsValueRepositoryInterface $productOptionsValueRepository, CountryRepositoryInterface $country_repository, @@ -92,7 +79,6 @@ class AdvsController extends PublicController VillageModel $village_model, - CategoryModel $categoryModel, CategoryRepositoryInterface $category_repository, OptionRepositoryInterface $optionRepository, @@ -110,8 +96,6 @@ class AdvsController extends PublicController $this->adv_repository = $advRepository; $this->optionConfigurationRepository = $optionConfigurationRepository; - $this->productOptionRepository = $productOptionRepository; - $this->productOptionsValueRepository = $productOptionsValueRepository; $this->country_repository = $country_repository; @@ -124,7 +108,6 @@ class AdvsController extends PublicController $this->village_model = $village_model; - $this->category_model = $categoryModel; $this->category_repository = $category_repository; $this->settings_repository = $settings_repository; diff --git a/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig b/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig index 6a18a9285..95a11455a 100644 --- a/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig +++ b/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig @@ -8,7 +8,7 @@ {% set categoryIcon = (maincat.icon.value) ? maincat.icon.value : img('visiosoft.module.advs::images/listing/sample-cat-icon.svg').url %} {{ main_category.name }} {% endif %} -
+
{{ maincat.name }} From 896e48ef5b98637169a3060f2c15386129bf69f9 Mon Sep 17 00:00:00 2001 From: Diatrex Date: Mon, 19 Apr 2021 16:22:01 +0300 Subject: [PATCH 03/15] #3786 broken category hierarchy + add overflow --- .../default/visiosoft/advs-module/resources/css/list-new.scss | 2 ++ .../resources/views/ads-list/partials/cat-filter.twig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/css/list-new.scss b/addons/default/visiosoft/advs-module/resources/css/list-new.scss index b10b4fa9a..6d65b7e39 100644 --- a/addons/default/visiosoft/advs-module/resources/css/list-new.scss +++ b/addons/default/visiosoft/advs-module/resources/css/list-new.scss @@ -95,6 +95,8 @@ ul { } #categoryList { + max-height: 24rem; + & > li { margin-bottom: .4rem; diff --git a/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig b/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig index 95a11455a..9029b513d 100644 --- a/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig +++ b/addons/default/visiosoft/cats-module/resources/views/ads-list/partials/cat-filter.twig @@ -1,4 +1,4 @@ -
    +
      {% for maincat in mainCats %} {% set parent_category = noCat ? false : true %} From 35ba8fec5bce444044c6ddde61ebbbe3364bb59a Mon Sep 17 00:00:00 2001 From: Diatrex Date: Tue, 20 Apr 2021 10:37:41 +0300 Subject: [PATCH 04/15] #3821 if store is not active show information --- .../visiosoft/advs-module/resources/views/error-msg.twig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 addons/default/visiosoft/advs-module/resources/views/error-msg.twig diff --git a/addons/default/visiosoft/advs-module/resources/views/error-msg.twig b/addons/default/visiosoft/advs-module/resources/views/error-msg.twig new file mode 100644 index 000000000..a47b06e23 --- /dev/null +++ b/addons/default/visiosoft/advs-module/resources/views/error-msg.twig @@ -0,0 +1,7 @@ +{% extends "theme::layouts/default" %} + +{% block content %} + +{% endblock %} From 62e41571ea89e91200b2ec8f33a8aea62d386333 Mon Sep 17 00:00:00 2001 From: Fatih Alp Date: Tue, 20 Apr 2021 12:08:57 +0300 Subject: [PATCH 05/15] New Crowdin updates (#1040) * New translations setting.php (Romanian) * New translations setting.php (Serbian (Cyrillic)) * New translations setting.php (Persian) * New translations setting.php (Bengali) * New translations setting.php (Azerbaijani) * New translations setting.php (Hindi) * New translations setting.php (Bulgarian) * New translations setting.php (Indonesian) * New translations setting.php (Afrikaans) * New translations setting.php (Urdu (Pakistan)) * New translations setting.php (Catalan) * New translations setting.php (Czech) * New translations setting.php (Danish) --- .../visiosoft/advs-module/resources/lang/af/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ar/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/az/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/bg/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/bn/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ca/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/cs/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/da/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/de/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/el/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/es/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/fa/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/fi/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/fr/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/he/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/hi/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/hu/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/id/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/it/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ja/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ko/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ku/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/nl/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/no/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/pl/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/pt/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ro/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ru/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/sq/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/sr/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/sv/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/tr/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/uk/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/ur/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/vi/setting.php | 3 +++ .../visiosoft/advs-module/resources/lang/zh/setting.php | 3 +++ 36 files changed, 108 insertions(+) diff --git a/addons/default/visiosoft/advs-module/resources/lang/af/setting.php b/addons/default/visiosoft/advs-module/resources/lang/af/setting.php index d596e4609..7e52f419a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/af/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/af/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Gedetailleerde produkopsies', 'instructions' => 'Hiermee kan u voorraad- en prysinligting vir die produk invoer' ], + 'show_subcats_mobile' => [ + 'name' => 'Wys subkategorieë op mobiele aansig', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php index 6eda932c2..7aff1b496 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ar/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'خيارات المنتج التفصيلية', 'instructions' => 'يسمح لك بإدخال معلومات المخزون والسعر للمنتج' ], + 'show_subcats_mobile' => [ + 'name' => 'إظهار الفئات الفرعية على طريقة عرض الجوال', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/az/setting.php b/addons/default/visiosoft/advs-module/resources/lang/az/setting.php index 9f3f7659d..18c4453e1 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/az/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/az/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Ətraflı məhsul seçimləri', 'instructions' => 'Məhsul üçün stok və qiymət məlumatlarını daxil etməyə imkan verir' ], + 'show_subcats_mobile' => [ + 'name' => 'Mobil görünüşdə alt kateqoriyalar göstərin', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/bg/setting.php b/addons/default/visiosoft/advs-module/resources/lang/bg/setting.php index d2dd0dd91..ea1669aba 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/bg/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/bg/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Подробни опции за продукта', 'instructions' => 'Позволява ви да въведете информация за запасите и цените на продукта' ], + 'show_subcats_mobile' => [ + 'name' => 'Показване на подкатегории в мобилен изглед', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php b/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php index e94cbbc34..d67b67678 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/bn/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'বিস্তারিত পণ্য বিকল্প', 'instructions' => 'আপনাকে পণ্যটির জন্য স্টক এবং মূল্য তথ্য প্রবেশ করতে দেয়' ], + 'show_subcats_mobile' => [ + 'name' => 'মোবাইল ভিউতে উপশ্রেণীগুলি দেখান', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ca/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ca/setting.php index 32ca7b1d7..ab4180f14 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ca/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ca/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Opcions detallades del producte', 'instructions' => 'Permet introduir informació sobre existències i preus del producte' ], + 'show_subcats_mobile' => [ + 'name' => 'Mostra subcategories a la visualització per a mòbils', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/cs/setting.php b/addons/default/visiosoft/advs-module/resources/lang/cs/setting.php index 8ec55c6dc..8735e2958 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/cs/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/cs/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Podrobné možnosti produktu', 'instructions' => 'Umožňuje zadat informace o skladu a ceně produktu' ], + 'show_subcats_mobile' => [ + 'name' => 'Zobrazit podkategorie v mobilním zobrazení', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/da/setting.php b/addons/default/visiosoft/advs-module/resources/lang/da/setting.php index 95b9be409..1b0307e67 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/da/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/da/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Detaljerede produktmuligheder', 'instructions' => 'Giver dig mulighed for at indtaste lager- og prisoplysninger for produktet' ], + 'show_subcats_mobile' => [ + 'name' => 'Vis underkategorier i mobilvisning', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/de/setting.php b/addons/default/visiosoft/advs-module/resources/lang/de/setting.php index 38451325f..7680adaa8 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/de/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/de/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Detaillierte Produktoptionen', 'instructions' => 'Ermöglicht die Eingabe von Lager- und Preisinformationen für das Produkt' ], + 'show_subcats_mobile' => [ + 'name' => 'Unterkategorien in der mobilen Ansicht anzeigen', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/el/setting.php b/addons/default/visiosoft/advs-module/resources/lang/el/setting.php index 92629797d..391dd0799 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/el/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/el/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Λεπτομερείς επιλογές προϊόντος', 'instructions' => 'Σας επιτρέπει να εισαγάγετε πληροφορίες για το απόθεμα και την τιμή για το προϊόν' ], + 'show_subcats_mobile' => [ + 'name' => 'Εμφάνιση υποκατηγοριών σε προβολή για κινητά', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/es/setting.php b/addons/default/visiosoft/advs-module/resources/lang/es/setting.php index b219c2d76..d5c330782 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/es/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/es/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Opciones de producto detalladas', 'instructions' => 'Le permite ingresar información de stock y precio del producto' ], + 'show_subcats_mobile' => [ + 'name' => 'Mostrar subcategorías en la vista móvil', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php b/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php index 7b028bfc3..889e6fb11 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fa/setting.php @@ -263,4 +263,7 @@ return [ 'name' => 'گزینه های دقیق محصول', 'instructions' => 'به شما امکان می دهد اطلاعات موجودی و قیمت محصول را وارد کنید' ], + 'show_subcats_mobile' => [ + 'name' => 'زیر مجموعه ها را در نمای موبایل نشان دهید', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fi/setting.php b/addons/default/visiosoft/advs-module/resources/lang/fi/setting.php index aec37a5bf..a1cadb7b1 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fi/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fi/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Yksityiskohtaiset tuotevaihtoehdot', 'instructions' => 'Voit antaa tuotteen varasto- ja hintatiedot' ], + 'show_subcats_mobile' => [ + 'name' => 'Näytä alaluokat mobiilinäkymässä', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php b/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php index a41e4c2cf..aef0c5408 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/fr/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Options de produit détaillées', 'instructions' => 'Vous permet de saisir des informations sur le stock et le prix du produit' ], + 'show_subcats_mobile' => [ + 'name' => 'Afficher les sous-catégories sur la vue mobile', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/he/setting.php b/addons/default/visiosoft/advs-module/resources/lang/he/setting.php index 03acb7175..84543e290 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/he/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/he/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'אפשרויות מוצר מפורטות', 'instructions' => 'מאפשר לך להזין מידע על מלאי ומחיר עבור המוצר' ], + 'show_subcats_mobile' => [ + 'name' => 'הצג קטגוריות משנה בתצוגת הנייד', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php b/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php index 2255edade..dbae02582 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/hi/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'विस्तृत उत्पाद विकल्प', 'instructions' => 'आपको उत्पाद के लिए स्टॉक और मूल्य की जानकारी दर्ज करने की अनुमति देता है' ], + 'show_subcats_mobile' => [ + 'name' => 'मोबाइल दृश्य पर उपश्रेणियाँ दिखाएँ', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/hu/setting.php b/addons/default/visiosoft/advs-module/resources/lang/hu/setting.php index a83f23c8f..10f9d11e7 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/hu/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/hu/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Részletes termékopciók', 'instructions' => 'Lehetővé teszi a termék készlet- és árinformációinak megadását' ], + 'show_subcats_mobile' => [ + 'name' => 'Alkategóriák megjelenítése mobil nézetben', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/id/setting.php b/addons/default/visiosoft/advs-module/resources/lang/id/setting.php index b6f19f8e1..5f421b928 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/id/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/id/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Pilihan Produk Terperinci', 'instructions' => 'Memungkinkan Anda memasukkan informasi stok dan harga produk' ], + 'show_subcats_mobile' => [ + 'name' => 'Tampilkan subkategori pada tampilan seluler', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/it/setting.php b/addons/default/visiosoft/advs-module/resources/lang/it/setting.php index be281e6c9..5d4ac6b3c 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/it/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/it/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Opzioni dettagliate del prodotto', 'instructions' => 'Consente di inserire informazioni sullo stock e sul prezzo del prodotto' ], + 'show_subcats_mobile' => [ + 'name' => 'Mostra le sottocategorie nella visualizzazione mobile', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php index ed44df7c8..2daacef7c 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ja/setting.php @@ -262,4 +262,7 @@ return [ 'name' => '詳細な製品オプション', 'instructions' => '製品の在庫および価格情報を入力できます' ], + 'show_subcats_mobile' => [ + 'name' => 'モバイルビューでサブカテゴリを表示する', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php index bd8e09948..ff2fcff6b 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ko/setting.php @@ -262,4 +262,7 @@ return [ 'name' => '자세한 제품 옵션', 'instructions' => '제품의 재고 및 가격 정보를 입력 할 수 있습니다.' ], + 'show_subcats_mobile' => [ + 'name' => '모바일보기에 하위 범주 표시', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ku/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ku/setting.php index ceefaf43d..92d385d4d 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ku/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ku/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Vebijarkên Hilbera Berfireh', 'instructions' => 'Destûrê dide ku hûn ji bo hilberê agahdariya pargîdanî û bihayê bikin' ], + 'show_subcats_mobile' => [ + 'name' => 'Binkategoriyan li ser dîmendera mobîl nîşan bide', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php b/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php index 561728cdd..4502c1a32 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/nl/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Gedetailleerde productopties', 'instructions' => 'Hiermee kunt u voorraad- en prijsinformatie voor het product invoeren' ], + 'show_subcats_mobile' => [ + 'name' => 'Toon subcategorieën op mobiele weergave', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/no/setting.php b/addons/default/visiosoft/advs-module/resources/lang/no/setting.php index a4eb231c0..660cdc351 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/no/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/no/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Detaljerte produktalternativer', 'instructions' => 'Lar deg legge inn lager- og prisinformasjon for produktet' ], + 'show_subcats_mobile' => [ + 'name' => 'Vis underkategorier på mobilvisning', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php b/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php index c9c05b60c..61f17f84e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pl/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Szczegółowe opcje produktu', 'instructions' => 'Umożliwia wprowadzenie informacji o stanie magazynowym i cenie produktu' ], + 'show_subcats_mobile' => [ + 'name' => 'Pokaż podkategorie w widoku mobilnym', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php b/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php index c3afc6bda..8c2a94658 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/pt/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Opções detalhadas do produto', 'instructions' => 'Permite inserir informações de estoque e preço do produto' ], + 'show_subcats_mobile' => [ + 'name' => 'Mostrar subcategorias na visualização móvel', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php index afe0255f6..99ca70ec7 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ro/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Opțiuni detaliate despre produs', 'instructions' => 'Vă permite să introduceți informații despre stoc și preț pentru produs' ], + 'show_subcats_mobile' => [ + 'name' => 'Afișați subcategoriile pe ecranul mobil', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php index abab85642..2e4214fa9 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ru/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Подробные параметры продукта', 'instructions' => 'Позволяет вводить информацию о наличии и цене продукта.' ], + 'show_subcats_mobile' => [ + 'name' => 'Показывать подкатегории в мобильном представлении', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php b/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php index 1c4912a97..cc938af2a 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sq/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Opsione të hollësishme të produktit', 'instructions' => 'Ju lejon të futni informacione mbi stokun dhe çmimet për produktin' ], + 'show_subcats_mobile' => [ + 'name' => 'Shfaq nënkategoritë në pamjen e celularëve', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sr/setting.php b/addons/default/visiosoft/advs-module/resources/lang/sr/setting.php index e317a3861..6218fb988 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sr/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sr/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Детаљне опције производа', 'instructions' => 'Омогућава вам да унесете информације о залихама и ценама производа' ], + 'show_subcats_mobile' => [ + 'name' => 'Прикажите поткатегорије на мобилном приказу', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php b/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php index 9492dc0e0..db5ceee85 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/sv/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Detaljerade produktalternativ', 'instructions' => 'Låter dig ange lager- och prisinformation för produkten' ], + 'show_subcats_mobile' => [ + 'name' => 'Visa underkategorier i mobilvy', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php b/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php index 794fa2464..81f2aa961 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/tr/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Ayrıntılı Ürün Seçenekleri', 'instructions' => 'Ürüne ait stok ve fiyat bilgilerini girmenizi sağlar' ], + 'show_subcats_mobile' => [ + 'name' => 'Alt kategorileri mobil görünümde göster', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php b/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php index 9e5a0f507..276733ed0 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/uk/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Детальні параметри товару', 'instructions' => 'Дозволяє вводити інформацію про запас та ціну товару' ], + 'show_subcats_mobile' => [ + 'name' => 'Показувати підкатегорії в мобільному режимі', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php b/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php index a17c76a4d..d7cc0f2cf 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/ur/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'تفصیلی مصنوع کے اختیارات', 'instructions' => 'آپ کو مصنوعات کے ل stock اسٹاک اور قیمت کی معلومات داخل کرنے کی اجازت دیتا ہے' ], + 'show_subcats_mobile' => [ + 'name' => 'موبائل ویو پر ذیلی زمرہ جات دکھائیں', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php b/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php index 97514f5b4..542ad4e2e 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/vi/setting.php @@ -262,4 +262,7 @@ return [ 'name' => 'Tùy chọn sản phẩm chi tiết', 'instructions' => 'Cho phép bạn nhập thông tin hàng tồn kho và giá cả cho sản phẩm' ], + 'show_subcats_mobile' => [ + 'name' => 'Hiển thị các danh mục phụ trên chế độ xem trên thiết bị di động', + ] ]; diff --git a/addons/default/visiosoft/advs-module/resources/lang/zh/setting.php b/addons/default/visiosoft/advs-module/resources/lang/zh/setting.php index 9bea1de32..3be422261 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/zh/setting.php +++ b/addons/default/visiosoft/advs-module/resources/lang/zh/setting.php @@ -262,4 +262,7 @@ return [ 'name' => '详细的产品选项', 'instructions' => '允许您输入产品的库存和价格信息' ], + 'show_subcats_mobile' => [ + 'name' => '在移动视图中显示子类别', + ] ]; From 7868661eba031eb7eb42a9a167a967cf8f4ea003 Mon Sep 17 00:00:00 2001 From: Fatih Alp Date: Tue, 20 Apr 2021 12:12:59 +0300 Subject: [PATCH 06/15] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 63e1bab14..c97ea408a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# OpenClassify - Laravel Classified Script Platform +# OpenClassify - Laravel 8 Classified Script Platform + +OpenClassify is modular and most advanced open source classified platform build with Laravel 8 & PHP 7.3+ Supported. Included Pyrocms 3.9 + -OpenClassify is the extensible and most advanced open source classified app build with Laravel 8 and Pyrocms. [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/openclassify/openclassify/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/openclassify/openclassify/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/openclassify/openclassify/badges/build.png?b=master)](https://scrutinizer-ci.com/g/openclassify/openclassify/build-status/master) @@ -25,7 +27,7 @@ Openclassify support 22+ languages. If you'd like to contribute translations, pl ## Server Requirements -- PHP => 7.3 +- PHP > 7.3+ - XML PHP Extension - PDO PHP Extension - cURL PHP Extension From 0f9d2fa6ed5e9516f38f2140ae5ea9e8f69e2c80 Mon Sep 17 00:00:00 2001 From: Diatrex Date: Tue, 20 Apr 2021 15:54:07 +0300 Subject: [PATCH 07/15] #3390 Show selected cities in listing --- .../resources/views/list/list.twig | 2 +- .../src/Http/Controller/AdvsController.php | 32 +++++++++++++++++++ .../src/City/CityRepository.php | 6 ++++ .../City/Contract/CityRepositoryInterface.php | 2 ++ 4 files changed, 41 insertions(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/views/list/list.twig b/addons/default/visiosoft/advs-module/resources/views/list/list.twig index 4e3546423..0128df3ef 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/list.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/list.twig @@ -49,7 +49,7 @@
{% endfor %}
- {{ trans('visiosoft.module.advs::field.clear_all') }} 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 599e98b56..ea6af9304 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/AdvsController.php @@ -360,6 +360,38 @@ class AdvsController extends PublicController ]; } + if (($cities = \request()->city) && $cities = $cities[0]) { + $citiesIDs = $cityId ? [$cityId->id] : explode(',', $cities); + $cities = $this->cityRepository->findAllByIDs($citiesIDs); + + $value = array(); + foreach ($cities as $city) { + $removalLink = array_filter($param, function ($singleParam) { + return $singleParam !== 'city'; + }, ARRAY_FILTER_USE_KEY); + $removalLink = fullLink( + $removalLink, + \request()->url(), + ['city[]' => implode( + ',', + array_filter($citiesIDs, function ($singleCity) use ($city) { + return $singleCity != $city->id; + }) + )] + ); + + $value[] = [ + 'name' => $city->name, + 'removalLink' => $removalLink + ]; + } + + $cFArray[] = [ + 'name' => trans('visiosoft.module.advs::field.address'), + 'value' => $value + ]; + } + Cookie::queue(Cookie::make('last_search', $this->requestHttp->getRequestUri(), 84000)); $viewType = $this->requestHttp->cookie('viewType'); diff --git a/addons/default/visiosoft/location-module/src/City/CityRepository.php b/addons/default/visiosoft/location-module/src/City/CityRepository.php index 9968eae76..2d55012f1 100644 --- a/addons/default/visiosoft/location-module/src/City/CityRepository.php +++ b/addons/default/visiosoft/location-module/src/City/CityRepository.php @@ -50,4 +50,10 @@ class CityRepository extends EntryRepository implements CityRepositoryInterface ->orderBy('order','ASC') ->get(); } + + public function findAllByIDs($citiesIDs) { + return $this->newQuery() + ->whereIn('location_cities.id', $citiesIDs) + ->get(); + } } diff --git a/addons/default/visiosoft/location-module/src/City/Contract/CityRepositoryInterface.php b/addons/default/visiosoft/location-module/src/City/Contract/CityRepositoryInterface.php index 9952563bd..2bd362f9a 100644 --- a/addons/default/visiosoft/location-module/src/City/Contract/CityRepositoryInterface.php +++ b/addons/default/visiosoft/location-module/src/City/Contract/CityRepositoryInterface.php @@ -7,4 +7,6 @@ interface CityRepositoryInterface extends EntryRepositoryInterface public function getByEntryIDsAndOrderByTransCol($entryIDs, $orderBy, $direction = 'asc'); public function getCitiesByCountryId($country_id); + + public function findAllByIDs($citiesIDs); } From 7dd482ce43fc6423a595c815804b5b0acad0bb1a Mon Sep 17 00:00:00 2001 From: Diatrex Date: Tue, 20 Apr 2021 16:54:11 +0300 Subject: [PATCH 08/15] fix listing design --- .../advs-module/resources/css/list-new.scss | 14 ++-- .../views/list/partials/list-filter.twig | 80 ++++++++++--------- 2 files changed, 52 insertions(+), 42 deletions(-) diff --git a/addons/default/visiosoft/advs-module/resources/css/list-new.scss b/addons/default/visiosoft/advs-module/resources/css/list-new.scss index 6d65b7e39..f039dc2f2 100644 --- a/addons/default/visiosoft/advs-module/resources/css/list-new.scss +++ b/addons/default/visiosoft/advs-module/resources/css/list-new.scss @@ -55,8 +55,12 @@ ul { } } - & > label { - font-size: calc(14rem / 16); + &:last-child { + max-height: 11rem; + + label { + font-size: calc(14rem / 16); + } } } } @@ -513,13 +517,13 @@ ul { } .cat-data { - font-size: calc(12rem / 16); + font-size: calc(13rem / 16); color: rgba(34, 34, 34, .4); } .action-data { color: #A1A1A1; - font-size: calc(8rem / 16); + font-size: calc(10.7rem / 16); & > a { visibility: hidden; @@ -541,7 +545,7 @@ ul { } svg { - width: .4rem; + width: .45rem; height: auto; } } diff --git a/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig b/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig index 8aa9d7415..48a2cb3cd 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig @@ -56,26 +56,28 @@ {{ img('visiosoft.module.advs::images/listing/filter-arrow.svg').data|raw }}
-
- - -
-
- - -
-
- - +
+
+ + +
+
+ + +
+
+ + +
@@ -89,19 +91,21 @@ {{ img('visiosoft.module.advs::images/listing/filter-arrow.svg').data|raw }}
-
- - -
-
- - +
+
+ + +
+
+ + +
@@ -115,10 +119,12 @@ {{ img('visiosoft.module.advs::images/listing/filter-arrow.svg').data|raw }}
-
- - +
+
+ + +
From 0f4b2edb2e976fc1f7816db64556398feee2cc44 Mon Sep 17 00:00:00 2001 From: Diatrex Date: Tue, 20 Apr 2021 17:05:53 +0300 Subject: [PATCH 09/15] #3817 [users] Forget Password - Hide SMS pass reminder if module is not installed --- .../src/Profile/Password/ForgotPassFormFields.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/addons/default/visiosoft/profile-module/src/Profile/Password/ForgotPassFormFields.php b/addons/default/visiosoft/profile-module/src/Profile/Password/ForgotPassFormFields.php index 54ceeebcf..d48f7e590 100644 --- a/addons/default/visiosoft/profile-module/src/Profile/Password/ForgotPassFormFields.php +++ b/addons/default/visiosoft/profile-module/src/Profile/Password/ForgotPassFormFields.php @@ -4,6 +4,13 @@ class ForgotPassFormFields { public function handle(ForgotPassFormBuilder $builder) { + $resetTypeOptions = [ + 'mail' => 'visiosoft.theme.base::field.mail', + ]; + if (is_module_installed('visiosoft.module.sms')) { + $resetTypeOptions['sms'] = 'visiosoft.theme.base::field.sms'; + } + $builder->setFields( [ 'email' => [ @@ -23,10 +30,7 @@ class ForgotPassFormFields "resetType" => [ "type" => "anomaly.field_type.select", "config" => [ - "options" => [ - 'sms' => 'visiosoft.theme.base::field.sms', - 'mail' => 'visiosoft.theme.base::field.mail', - ], + "options" => $resetTypeOptions, "separator" => ":", "default_value" => 'mail', "mode" => "radio", From d4dd1a86a3ee60bff1944c16d36fb4c38d327ef1 Mon Sep 17 00:00:00 2001 From: Diatrex Date: Wed, 21 Apr 2021 10:04:29 +0300 Subject: [PATCH 10/15] #3722 Search Keyword Filter For Ads List --- .../advs-module/resources/css/list-new.scss | 10 +++++++++- .../advs-module/resources/lang/en/field.php | 1 + .../views/list/partials/list-filter.twig | 16 ++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/resources/css/list-new.scss b/addons/default/visiosoft/advs-module/resources/css/list-new.scss index f039dc2f2..00af852e2 100644 --- a/addons/default/visiosoft/advs-module/resources/css/list-new.scss +++ b/addons/default/visiosoft/advs-module/resources/css/list-new.scss @@ -166,7 +166,7 @@ ul { /* End Location */ /* Price */ - #price { + #price, .range-filter { li { & + & { margin-left: 0.5em; @@ -229,6 +229,14 @@ ul { } /* End Map */ + /* Keyword */ + #keywordFilter { + input { + font-size: calc(14rem / 16); + } + } + /* End Keyword */ + /* Filter submit */ #filterSubmit { button { diff --git a/addons/default/visiosoft/advs-module/resources/lang/en/field.php b/addons/default/visiosoft/advs-module/resources/lang/en/field.php index 15d55eb6a..5ebad24af 100644 --- a/addons/default/visiosoft/advs-module/resources/lang/en/field.php +++ b/addons/default/visiosoft/advs-module/resources/lang/en/field.php @@ -343,6 +343,7 @@ return [ 'view' => 'View', 'ads_with_map' => 'Ads With Map', 'advanced_sorting' => 'Advanced Sorting', + 'filter_by_word' => 'Filter by word', 'free' => 'Free', 'ad_date' => 'Ad Date', diff --git a/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig b/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig index 48a2cb3cd..045c61bfa 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/partials/list-filter.twig @@ -130,6 +130,22 @@ {% endif %} + +
+
+

{{ trans("visiosoft.module.advs::field.filter_by_word") }}

+ {{ img('visiosoft.module.advs::images/listing/filter-arrow.svg').data|raw }} +
+ +
+
+ +
+
+
+ +