mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix filtering number like filenames in filelist
forward port of 847ad6c40b
This commit is contained in:
parent
c8cf3320a4
commit
5da2929180
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue