Merge pull request #1153 from dploeger/fix-1152

Fixed missing preparation for filter on autotype
This commit is contained in:
antelle 2019-04-04 19:16:25 +02:00 committed by GitHub
commit 47eb538444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -282,9 +282,10 @@ const AppModel = Backbone.Model.extend({
},
getEntriesByFilter: function(filter) {
const 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;
},