3
0
Fork 0

web_search_with_and: black, isort, prettier

16.0
pedroguirao 2022-01-14 10:27:33 +01:00 committed by SandipSCS
parent 77e6a36a54
commit 8bdd22d6a0
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
odoo.define("web_search_with_and", function(require) { odoo.define("web_search_with_and", function (require) {
"use strict"; "use strict";
var searchBarAutocompleteRegistry = require("web.search_bar_autocomplete_sources_registry"); var searchBarAutocompleteRegistry = require("web.search_bar_autocomplete_sources_registry");
@ -6,7 +6,7 @@ odoo.define("web_search_with_and", function(require) {
SearchBar.include({ SearchBar.include({
// Override the base method to detect a "shift" event // Override the base method to detect a "shift" event
_onAutoCompleteSelected: function(e, ui) { _onAutoCompleteSelected: function (e, ui) {
var values = ui.item.facet.values; var values = ui.item.facet.values;
if ( if (
e.shiftKey && e.shiftKey &&