diff options
| author | pka-odoo <pka@odoo.com> | 2020-05-04 09:05:51 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-04 14:31:11 +0000 |
| commit | c80fa71adbb2410b4ed5328f9093502969ff02bb (patch) | |
| tree | e9f369950f8fb36b842f6e78f8a444a985f295a5 /addons/web/static/src/xml/base.xml | |
| parent | 470fa48686f5ac430f0f7eb0853cf2c81dca62c0 (diff) | |
[IMP] web,*: search menus always visible
Part of task 2234547
Co-authored-by: Mohammed Shekha <msh@odoo.com>
Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 9d59017cee7..62370e8f9f4 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -29,12 +29,10 @@ t-ref="searchView" > <div t-if="props.withSearchBar" class="o_searchview" role="search" aria-autocomplete="list" > - <i t-if="props.searchMenuTypes.length" - t-attf-class="o_searchview_more fa fa-search-{{ state.displayDropdowns ? 'minus' : 'plus' }}" - title="Advanced Search..." + <i class="o_searchview_icon fa fa-search" + title="Search..." role="img" - aria-label="Advanced Search..." - t-on-click.prevent="state.displayDropdowns = !state.displayDropdowns" + aria-label="Search..." /> <SearchBar t-if="props.withSearchBar" fields="fields"/> </div> @@ -55,7 +53,7 @@ role="search" t-ref="searchViewButtons" > - <t t-if="props.withSearchBar and state.displayDropdowns"> + <t t-if="props.withSearchBar"> <FilterMenu t-if="props.searchMenuTypes.includes('filter')" class="o_filter_menu" fields="fields" |
