Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Tinebase) default default filter should not be enforced
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusweiss committed Aug 4, 2021
1 parent 8309b68 commit ef2cb1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tine20/Tinebase/js/widgets/grid/FilterToolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,9 @@ Ext.extend(Tine.widgets.grid.FilterToolbar, Ext.Panel, {
this.deleteFilter(filterRecord);
}, this);

// add default filter if missing
if (this.filterStore.find('field', this.defaultFilter) < 0) {
this.addFilter();
// add a default query filter if missing
if (this.filterStore.find('field', 'query') < 0) {
this.addFilter(new this.record({field: 'query'}));
}

this.supressEvents = false;
Expand Down

0 comments on commit ef2cb1d

Please sign in to comment.