diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-11-18 20:18:31 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-11-18 20:18:31 +0400 |
commit | 5da2929180c831812eaebdebd5c6f4cc1608c03c (patch) | |
tree | 6aaea52935f87acab84d68a97f4591e193b78b05 /apps | |
parent | c8cf3320a4a7c1e99c72c35ca97f723896a34842 (diff) |
fix filtering number like filenames in filelist
forward port of https://github.com/owncloud/core/commit/847ad6c40b951cbd3d187e3c72cb55dc3acd6951
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 49dd28517be..f20d9429271 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -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"); |