Skip to content

Commit 8199538

Browse files
authored
Merge pull request #1438 from algolia/bugfix/MAGE-796
Bugfix/mage 796 - banner fix
2 parents 4e76dd9 + 8431cf0 commit 8199538

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

view/frontend/web/instantsearch.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -300,18 +300,6 @@ define(
300300
return item;
301301
});
302302
},
303-
304-
/*
305-
* queryRuleCustomData
306-
* The queryRuleCustomData widget displays custom data from Query Rules.
307-
* Docs: https://www.algolia.com/doc/api-reference/widgets/query-rule-custom-data/js/
308-
**/
309-
queryRuleCustomData: {
310-
container: '#algolia-banner',
311-
templates: {
312-
default: '{{#items}} {{#banner}} {{{banner}}} {{/banner}} {{/items}}',
313-
}
314-
}
315303
},
316304

317305
/*
@@ -342,6 +330,18 @@ define(
342330
return item;
343331
})
344332
}
333+
},
334+
335+
/*
336+
* queryRuleCustomData
337+
* The queryRuleCustomData widget displays custom data from Query Rules.
338+
* Docs: https://www.algolia.com/doc/api-reference/widgets/query-rule-custom-data/js/
339+
**/
340+
queryRuleCustomData: {
341+
container: '#algolia-banner',
342+
templates: {
343+
default: '{{#items}} {{#banner}} {{{banner}}} {{/banner}} {{/items}}',
344+
}
345345
}
346346
};
347347

0 commit comments

Comments
 (0)