mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Fix live search filter
This commit is contained in:
@@ -30,9 +30,9 @@ define([
|
||||
|
||||
var pattern = new RegExp(letters, "gi");
|
||||
|
||||
return this.filter(function(data) {
|
||||
return _(this.filter(function(data) {
|
||||
return pattern.test(data.get("name"));
|
||||
});
|
||||
}));
|
||||
},
|
||||
comparator: function(item) {
|
||||
return item.get("sorter");
|
||||
|
Reference in New Issue
Block a user