1
0
Эх сурвалжийг харах

WebUIs: remove regex search

The default DataTables2 search is easier for end users

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 1 жил өмнө
parent
commit
ab320c9ecc

+ 1 - 1
templates/webadmin/admins.html

@@ -445,7 +445,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
             handleColVisibilityCheckbox($('#checkColStatus'), 1);
             handleColVisibilityCheckbox($('#checkColLastLogin'), 2);

+ 1 - 1
templates/webadmin/connections.html

@@ -344,7 +344,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
         }
 

+ 1 - 1
templates/webadmin/defender.html

@@ -253,7 +253,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
         }
 

+ 1 - 1
templates/webadmin/eventactions.html

@@ -293,7 +293,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
         }
 

+ 1 - 1
templates/webadmin/eventrules.html

@@ -353,7 +353,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
         }
 

+ 1 - 1
templates/webadmin/folders.html

@@ -369,7 +369,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
             handleColVisibilityCheckbox($('#checkColStorage'), 1);
             handleColVisibilityCheckbox($('#checkColQuota'), 2);

+ 1 - 1
templates/webadmin/groups.html

@@ -302,7 +302,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
             handleColVisibilityCheckbox($('#checkColMembers'), 1);
             handleColVisibilityCheckbox($('#checkColDesc'), 2);

+ 1 - 1
templates/webadmin/roles.html

@@ -303,7 +303,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
             handleColVisibilityCheckbox($('#checkColMembers'), 1);
             handleColVisibilityCheckbox($('#checkColDesc'), 2);

+ 1 - 1
templates/webadmin/users.html

@@ -626,7 +626,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
             handleColVisibilityCheckbox($('#checkColStatus'), 1);
             handleColVisibilityCheckbox($('#checkColLastLogin'), 2);

+ 1 - 1
templates/webclient/files.html

@@ -1032,7 +1032,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
         }
 

+ 1 - 1
templates/webclient/shares.html

@@ -432,7 +432,7 @@ explicit grant from the SFTPGo Team ([email protected]).
             filterSearch.off("keyup");
             filterSearch.on('keyup', function (e) {
                 dt.rows().deselect();
-                dt.search(e.target.value, true, false).draw();
+                dt.search(e.target.value).draw();
             });
         }