From 3d8b3e8efa120dcf747cede7b4765b0cdc7241cf Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Thu, 25 Sep 2025 15:54:27 +0200 Subject: [PATCH] Revert "Bug 36135: (follow-up) Fix suspension search and other improvements" This reverts commit 2248ac8544a2cd26874ec5f85e38294485682228. Signed-off-by: Paul Derscheid --- admin/columns_settings.yml | 55 ++++++------- .../en/modules/tools/batch_modify_holds.tt | 81 +++++++------------ 2 files changed, 52 insertions(+), 84 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 368bd08b11..0c3b904060 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -2046,7 +2046,31 @@ modules: columnname: suspend - columnname: print_slip - + holds_to_modify: + default_display_length: 20 + columns: + - + columnname: checkbox + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: expiration_date + - + columnname: title + - + columnname: barcode + - + columnname: patron + - + columnname: status + - + columnname: pickup_library + - + columnname: suspended + - + columnname: suspended_until + - + columnname: notes modified_holds: default_display_length: 20 columns: @@ -2499,35 +2523,6 @@ modules: - columnname: batch_patron_edit_debarredcomment - batch_hold_modification: - holds_to_modify: - default_display_length: 20 - columns: - - - columnname: batch_hold_edit_selections - cannot_be_toggled: 1 - cannot_be_modified: 1 - - - columnname: batch_hold_edit_hold_date - - - columnname: batch_hold_edit_expiration_date - - - columnname: batch_hold_edit_title - - - columnname: batch_hold_edit_barcode - - - columnname: batch_hold_edit_patron - - - columnname: batch_hold_edit_status - - - columnname: batch_hold_edit_hold_pickup_library - - - columnname: batch_hold_edit_suspended - - - columnname: batch_hold_edit_suspended_until - - - columnname: batch_hold_edit_note - logviewer: logst: default_display_length: 20 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt index 21953f3fae..4850a8a01a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt @@ -8,11 +8,9 @@ [% USE TablesSettings %] [% USE To %] [% PROCESS 'html_helpers.inc' %] -[% PROCESS 'i18n.inc' %] + [% INCLUDE 'doc-head-open.inc' %] -[% FILTER collapse %] - [% t("Batch modify holds") | html %] › [% t("Tools") | html %] › [% t("Koha") | html %] -[% END %] +Batch modify holds › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/humanmsg.css") | $raw %] @@ -27,15 +25,12 @@ [% WRAPPER breadcrumb_item %] Tools [% END %] - [% IF ( view == 'report' ) %] + [% IF ( view == 'form' || view == 'report' ) %] [% WRAPPER breadcrumb_item %] Batch modify holds [% END %] - [% WRAPPER breadcrumb_item bc_active= 1 %] - Modified holds - [% END %] [% ELSE %] - [% WRAPPER breadcrumb_item %] + [% WRAPPER breadcrumb_item bc_active= 1 %] Batch modify holds [% END %] [% END %] @@ -46,8 +41,8 @@
+

Batch modify holds

[% IF view == "cud-form" %] -

Batch modify holds

[% ELSIF view == "report" %] -

Modified holds

@@ -114,12 +108,12 @@ - + - + - + @@ -127,8 +121,8 @@ [% FOREACH hold IN updated_holds_obj %] - - + + @@ -253,7 +247,6 @@ [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'select2.inc' %] - [% INCLUDE 'js-biblio-format.inc' %] [% INCLUDE 'js-patron-format.inc' %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
Title PatronPickup locationPickup Location PriorityExpiration dateExpiration Date Status SuspendedSuspended untilSuspended Until Notes
[% INCLUDE 'biblio-title.inc' biblio=hold.biblio link = 1 %][% INCLUDE 'patron-title.inc' invert_name=1 patron=hold.borrower hide_patron_infos_if_needed=1 link_to="circulation_reserves" %][% hold.biblio.title | html %][% hold.borrower.firstname | html %] [% hold.borrower.surname | html %] [% hold.branch.branchname | html %] [% hold.priority | html %] [% hold.expirationdate | $KohaDates %]