mirror of https://github.com/keeweb/keeweb.git
Fix bug: search filters UI opens when user clicks on folder when advancedSearch is set in settings
This commit is contained in:
parent
5e57938aab
commit
b7ecf9d925
|
@ -242,6 +242,9 @@ const AppModel = Backbone.Model.extend({
|
|||
setFilter: function(filter) {
|
||||
this.filter = filter;
|
||||
this.filter.subGroups = this.settings.get('expandGroups');
|
||||
if (!this.filter.advanced && this.advancedSearch) {
|
||||
this.filter.advanced = this.advancedSearch;
|
||||
}
|
||||
const entries = this.getEntries();
|
||||
if (!this.activeEntryId || !entries.get(this.activeEntryId)) {
|
||||
const firstEntry = entries.first();
|
||||
|
|
Loading…
Reference in New Issue