From 0bd664adef2fed87c7108189bb263bbab4683257 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 9 Oct 2024 14:08:26 +0200 Subject: [PATCH] Bug 38116: Build patron search descriptions using DT's search settings The goal of this patch is to move the construction of the patron search description to datatables.js in order to make it generic and reusable. With bug 33484 and the restoration of the state from localStorage or the URL could lead to confusion when the table is displayed. It could also be problematic when an hidden column has a search pattern. Note that if a column has a dropdown list with an option selected AND is hidden, the description won't display the value but the code (eg. ^CPL$ if library Centerville is selected) Signed-off-by: David Nind Signed-off-by: Martin Renvoize --- .../prog/en/includes/patron-search.inc | 105 ++++++++---------- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 59 +++++++++- 2 files changed, 106 insertions(+), 58 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index e8317798399..feac6ac8a3e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -150,7 +150,7 @@ [% END %] -

Patrons found for:

+