From 08392a14a401883a6429a62debc6ad0371be9be6 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 7 Feb 2024 11:50:22 +0000 Subject: [PATCH] Bug 34479: (RMaint follow-up) Correct selectors for 23.05.x We renamed patron_search_selected to table_search_selections in upstream, but missed that when backporting this bug. Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/js/members-patron-selections.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/members-patron-selections.js b/koha-tmpl/intranet-tmpl/prog/js/members-patron-selections.js index 3c0af55ad17..4b17fb34753 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/members-patron-selections.js +++ b/koha-tmpl/intranet-tmpl/prog/js/members-patron-selections.js @@ -16,9 +16,9 @@ function persistPatronSelections(form) { function showPatronSelections(number) { if (number === 0) { - $("#table_search_selections").hide() + $("#patron_search_selected").hide() } else { - $("#table_search_selections").show().find("span").text(__("Patrons selected: %s").format(number)); + $("#patron_search_selected").show().find("span").text(__("Patrons selected: %s").format(number)); } } -- 2.43.0