[Pkg-owncloud-commits] [owncloud] 77/111: fix filtering number like filenames in filelist

David Prévot taffit at moszumanska.debian.org
Wed Nov 20 21:38:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 5da2929180c831812eaebdebd5c6f4cc1608c03c
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Mon Nov 18 17:18:31 2013 +0100

    fix filtering number like filenames in filelist
    
    forward port of https://github.com/owncloud/core/commit/847ad6c40b951cbd3d187e3c72cb55dc3acd6951
---
 apps/files/js/filelist.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 49dd285..f20d942 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");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list