Bugzilla – Attachment 171616 Details for
Bug 37483
Batch extend due dates tool not working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37483: Use cud-list for extend due dates tool
Bug-37483-Use-cud-list-for-extend-due-dates-tool.patch (text/plain), 1.39 KB, created by
Janusz Kaczmarek
on 2024-09-17 12:28:37 UTC
(
hide
)
Description:
Bug 37483: Use cud-list for extend due dates tool
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2024-09-17 12:28:37 UTC
Size:
1.39 KB
patch
obsolete
>From 930e90ec437fc4cdf6252ae754e6ad5005621332 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 17 Sep 2024 12:14:23 +0000 >Subject: [PATCH] Bug 37483: Use cud-list for extend due dates tool > >This patch switch the check in the script to 'cud-list' - we use the same form >submission if listing for preview or directly updating dates, so this may or may >not be a cud- action - assuming it is restores script functionality. > >See bug 37941 for updating forms to not share actions > >To test: >1 - Checkout some items to patrons of at least two libraries >2 - Tools -> Batch extend due dates >3 - Select nothing except 'preview' and submit >4 - Blank screen >5 - Apply patch, repeat >6 - It works! >7 - Filter by library and confirm it still works >8 - Sign off! > >Signed-off-by: Janusz Kaczmarek <januszop@gmail.com> >--- > tools/batch_extend_due_dates.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/batch_extend_due_dates.pl b/tools/batch_extend_due_dates.pl >index d6b0e84fc8..42bff8b46c 100755 >--- a/tools/batch_extend_due_dates.pl >+++ b/tools/batch_extend_due_dates.pl >@@ -46,7 +46,7 @@ my @issue_ids; > if ( $op eq 'form' ) { > $template->param( view => 'form', ); > } >-elsif ( $op eq 'list' ) { >+elsif ( $op eq 'cud-list' ) { > > my @categorycodes = $input->multi_param('categorycodes'); > my @itemtypecodes = $input->multi_param('itemtypecodes'); >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37483
:
169963
|
170023
|
171610
|
171616
|
171827