Bug 26978

Summary: Add item type criteria to batch extend due date tool
Product: Koha Reporter: Caroline Cyr La Rose <caroline.cyr-la-rose>
Component: ToolsAssignee: Hinemoea Viault <hinemoea.viault>
Status: RESOLVED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, fiona.borthwick, fridolin.somers, hinemoea.viault, m.de.rooy, matt.blenkinsop, mfuerst, nglhelpdesk, philippe.blouin, severine.queune
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Caroline Cyr La Rose Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/780
Text to go in the release notes:
Version(s) released in:
23.11.00,23.05.05
Circulation function:
Attachments: Add item type option to batch extend due date tool
Bug 26978: Add item type option to batch extend due date tool
Bug 26978: Add item type option to batch extend due date tool

Description Caroline Cyr La Rose 2020-11-09 15:29:27 UTC
In the Change due date plugin by inLibro, there is a possibility of choosing specific item types to extend due dates. I think the original purpose of the batch extend due date tool was for COVID and the purpose was to extend everything regardless, as the libraries were closed.

However, it would be nice if we could discontinue de plugin in favour of the native tool. But that would require that the native tool have all the options that the plugin has. 

https://inlibro.com/en/changeduedate-instructions/

One example of use case would be where a school would want to extend loans for textbooks, because the semester was extended, but not the other types of items.
Comment 1 Martha Fuerst 2020-11-09 16:46:13 UTC
Yes please! We can't currently use this tool due to some item types have rental fees attached to them. Being able to discriminate based on item type would be incredibly helpful.
Comment 2 Fiona Borthwick 2021-06-15 13:48:01 UTC
Adding an item type filter would be hugely beneficial,
Comment 3 Hinemoea Viault 2023-06-06 16:53:07 UTC
Created attachment 152055 [details] [review]
Add item type option to batch extend due date tool

This patch add an option to change due date by item type from the batch extend due date tool.

Test plan:

1. Checkout multiple items for any patron
   1.1. Checkout items for different types
2. Go to : More > Tools > Batch extends due date
   2.1. There is no item type box

3. Apply the patch

4. Repeat step 2
5. Choose a previously check-outed item type
6. Choose the dates that correspond with your checkouts
7. Click on "Continue"
8. There is the list of items whose types has been specified.
Comment 4 Sam Lau 2023-06-07 16:12:16 UTC
Created attachment 152120 [details] [review]
Bug 26978: Add item type option to batch extend due date tool

Signed-off-by: Sam Lau <samalau@gmail.com>
Comment 5 Marcel de Rooy 2023-09-08 08:57:16 UTC
Looking here. Noting that there is no test plan..
Comment 6 Marcel de Rooy 2023-09-08 09:07:37 UTC
Created attachment 155378 [details] [review]
Bug 26978: Add item type option to batch extend due date tool

Signed-off-by: Sam Lau <samalau@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 7 Marcel de Rooy 2023-09-08 09:09:13 UTC
Thx for you patch, Hinemoea Viault. The RM will be looking at it soon..
Comment 8 Tomás Cohen Arazi (tcohen) 2023-10-11 15:14:05 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 9 Fridolin Somers 2023-10-13 00:01:57 UTC
Small nice enhancement, I choose to backport

Pushed to 23.05.x for 23.05.05
Comment 10 Fridolin Somers 2023-10-13 00:07:32 UTC
BTW I think we should move this to /cgi-bin/koha/circ/circulation-home.pl
Comment 11 Matt Blenkinsop 2023-10-17 17:34:07 UTC
Enhancement - not backporting to 22.11.x