WebUIs: remove regex search

The default DataTables2 search is easier for end users

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-05-04 12:22:10 +02:00
parent 76c912083e
commit ab320c9ecc
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
11 changed files with 11 additions and 11 deletions

View file

@ -445,7 +445,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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);

View file

@ -344,7 +344,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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();
});
}

View file

@ -253,7 +253,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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();
});
}

View file

@ -293,7 +293,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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();
});
}

View file

@ -353,7 +353,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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();
});
}

View file

@ -369,7 +369,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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);

View file

@ -302,7 +302,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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);

View file

@ -303,7 +303,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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);

View file

@ -626,7 +626,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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);

View file

@ -1032,7 +1032,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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();
});
}

View file

@ -432,7 +432,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
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();
});
}