mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
fixes #1557 removed %% in front and escaped groups for mysql8
This commit is contained in:
@@ -1519,7 +1519,9 @@ function update_user_list() {
|
||||
per_page: per_page,
|
||||
exclude: [guest_id]
|
||||
}
|
||||
update_data["filter"] = "%" + $("#user_search").val() + "%";
|
||||
if ($("#user_search").val().length != 0) {
|
||||
update_data["filter"] = $("#user_search").val();
|
||||
}
|
||||
if ($("#advanced-filter-container").css("display") !== "none") {
|
||||
update_data["status"] = $(".advanced-filter-select[name=filter_status]").val();
|
||||
update_data["group_id"] = $(".advanced-filter-select[name=filter_group]").val();
|
||||
|
||||
Reference in New Issue
Block a user