fix filtering number like filenames in filelist

forward port of 847ad6c40b
This commit is contained in:
Jörn Friedrich Dreyer 2013-11-18 17:18:31 +01:00
parent c8cf3320a4
commit 5da2929180
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ var FileList={
},
filter:function(query) {
$('#fileList tr:not(.summary)').each(function(i,e) {
if ($(e).data('file').toLowerCase().indexOf(query.toLowerCase()) !== -1) {
if ($(e).data('file').toString().toLowerCase().indexOf(query.toLowerCase()) !== -1) {
$(e).addClass("searchresult");
} else {
$(e).removeClass("searchresult");