In some cases libraries want to use some more complicated criteria for selecting the items that they want to extend the due dates for. For these cases it would be great if SQL reports could be used to make a list that then can be uploaded to the tool, similar to how we manage other batch operations.
Created attachment 184562 [details] [review] Bug 27248: Add barcode list input to batch extend due dates This patch adds a barcode list input to batch extend due dates Test plan: 1. Have some checkouts and copy the barcodes 2. Go to Tools > Batch extend due dates 3. Paste the barcodes in the new input one line at a time 4. Confirm you can extend the due dates for those items 5. Confirm the other limits still work For example if you enter a branchcode and a list of barcodes only items that were checked out from that branchcode and are on the list of items get an updated due date
Created attachment 184563 [details] [review] Bug 27248: Fix display of new due date column in preview table This patch removes a duplicate call to new_due_dates.shift so that the new due date column shows the date for all selected checkouts. To test: 1. Have some random checkouts 2. Use the batch_extend_due_dates tool with preview results checked 3. Notice only have the selected checkouts have data in the new due date column 4. Apply patch and retry seteps 2-3 5. All selected checkouts now show a date in the new due date column
Batch extend due dates by item barcode was a feature in our previous ILS, so we sometimes still get requests to do this with a list of barcodes. This patch is a work in progress based on the batch item modification barcode list input. The next step would be to add it to the batch operations drop down list in SQL reports. Setting this to needs sign off to get some feedback. Thanks!
Created attachment 185301 [details] [review] Bug 27248: Add barcode list input to batch extend due dates This patch adds a barcode list input to batch extend due dates Test plan: 1. Have some checkouts and copy the barcodes 2. Go to Tools > Batch extend due dates 3. Paste the barcodes in the new input one line at a time 4. Confirm you can extend the due dates for those items 5. Confirm the other limits still work For example if you enter a branchcode and a list of barcodes only items that were checked out from that branchcode and are on the list of items get an updated due date Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Created attachment 185302 [details] [review] Bug 27248: Fix display of new due date column in preview table This patch removes a duplicate call to new_due_dates.shift so that the new due date column shows the date for all selected checkouts. To test: 1. Have some random checkouts 2. Use the batch_extend_due_dates tool with preview results checked 3. Notice only have the selected checkouts have data in the new due date column 4. Apply patch and retry seteps 2-3 5. All selected checkouts now show a date in the new due date column Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
The barcode option worked as in test plan. I'd be happy to test and sign off the SQL report option too, because it would be a more versatile functionality. :)