bug: Fixed missing preparation for filter on autotype

This commit is contained in:
Dennis Ploeger 2019-04-02 14:08:56 +02:00
parent 8a47ed864c
commit 1ab397be0a
1 changed files with 2 additions and 1 deletions

View File

@ -282,9 +282,10 @@ const AppModel = Backbone.Model.extend({
},
getEntriesByFilter: function(filter) {
let preparedFilter = this.prepareFilter(filter);
const entries = new EntryCollection();
this.files.forEach(file => {
file.forEachEntry(filter, entry => entries.push(entry));
file.forEachEntry(preparedFilter, entry => entries.push(entry));
});
return entries;
},