summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-11-18 17:18:31 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-11-18 17:18:31 +0100
commit5da2929180c831812eaebdebd5c6f4cc1608c03c (patch)
tree6aaea52935f87acab84d68a97f4591e193b78b05 /apps
parentc8cf3320a4a7c1e99c72c35ca97f723896a34842 (diff)
downloadnextcloud-server-5da2929180c831812eaebdebd5c6f4cc1608c03c.tar.gz
nextcloud-server-5da2929180c831812eaebdebd5c6f4cc1608c03c.zip
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.js2
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");