Merge pull request #64 from sskaje/master
changed download filter to be case insensitive
This commit is contained in:
commit
f76837ae28
@ -110,7 +110,8 @@ function(
|
|||||||
if (!d.files.length) return true;
|
if (!d.files.length) return true;
|
||||||
|
|
||||||
return _.filter(d.files, function(f) {
|
return _.filter(d.files, function(f) {
|
||||||
return f.path.search(filter) != -1;
|
return f.path.toLowerCase().indexOf(filter.toLowerCase()) != -1;
|
||||||
|
// return f.path.search(filter) != -1;
|
||||||
}).length;
|
}).length;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user