Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DariaUshaeva/38c76b948f7813fd3a526e57bb95e948 to your computer and use it in GitHub Desktop.
Save DariaUshaeva/38c76b948f7813fd3a526e57bb95e948 to your computer and use it in GitHub Desktop.
diff --git a/app/controllers/backend/product_features.php b/app/controllers/backend/product_features.php
index 20fb2ce..3f131d0 100644
--- a/app/controllers/backend/product_features.php
+++ b/app/controllers/backend/product_features.php
@@ -282,7 +282,7 @@ elseif ($mode == 'get_features_list') {
$search = [
'page' => $page_number,
- 'search_query' => $search_query,
+ 'description' => $search_query,
'get_descriptions' => true,
];
diff --git a/js/tygh/backend/promotion_update.js b/js/tygh/backend/promotion_update.js
index aad6c18..de999b7 100644
--- a/js/tygh/backend/promotion_update.js
+++ b/js/tygh/backend/promotion_update.js
@@ -7,7 +7,6 @@
// Select2 settings for parent items select
parent: {
loadViaAjax: true,
- enableSearch: false,
dataUrl: '',
enableImages: true
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment