[IMP] clear search after deselecting a filter
bzr revid: xmo@openerp.com-20120126085636-3mja4a43yhywd6ga
This commit is contained in:
parent
a01106ca30
commit
1059bb758d
|
@ -252,6 +252,8 @@ openerp.web.SearchView = openerp.web.OldWidget.extend(/** @lends openerp.web.Sea
|
|||
]
|
||||
});
|
||||
break;
|
||||
case '':
|
||||
this.do_clear();
|
||||
}
|
||||
if (val.slice(0, 4) == "get:") {
|
||||
val = val.slice(4);
|
||||
|
|
|
@ -1213,7 +1213,7 @@
|
|||
</form>
|
||||
</t>
|
||||
<t t-name="SearchView.managed-filters">
|
||||
<option class="oe-filters-title">Filters</option>
|
||||
<option class="oe-filters-title" value="">Filters</option>
|
||||
<optgroup label="-- Filters --">
|
||||
<t t-foreach="filters" t-as="filter">
|
||||
<option t-attf-value="get:#{filter_index}"><t t-esc="filter.name"/></option>
|
||||
|
|
Loading…
Reference in New Issue