Bug 33944 - When listing checkouts, don't fetch item object if not using recalls
Summary: When listing checkouts, don't fetch item object if not using recalls
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Nick Clemens (kidclamp)
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 18:02 UTC by Nick Clemens (kidclamp)
Modified: 2023-12-28 20:47 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00,23.05.02,22.11.08


Attachments
Bug 33944: Don't fetch item object unless using recalls (1.10 KB, patch)
2023-06-07 18:06 UTC, Nick Clemens (kidclamp)
Details | Diff | Splinter Review
Bug 33944: Don't fetch item object unless using recalls (1.15 KB, patch)
2023-06-07 18:29 UTC, Sam Lau
Details | Diff | Splinter Review
Bug 33944: Don't fetch item object unless using recalls (1.20 KB, patch)
2023-06-22 22:15 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2023-06-07 18:02:20 UTC
In svc/checkouts we fetch the item object, but it is only used if using recalls.
Comment 1 Nick Clemens (kidclamp) 2023-06-07 18:06:09 UTC
Created attachment 152127 [details] [review]
Bug 33944: Don't fetch item object unless using recalls

To test:
1 - Check someitems out to a patron
2 - View thier checkouts
3 - Apply patch, restart_all
4 - Confirm checkouts load as before
5 - Enable recalls
6 - Recall an item checked out to this patron
7 - Confirm recall shows as expected
Comment 2 Sam Lau 2023-06-07 18:29:21 UTC
Created attachment 152129 [details] [review]
Bug 33944: Don't fetch item object unless using recalls

To test:
1 - Check someitems out to a patron
2 - View thier checkouts
3 - Apply patch, restart_all
4 - Confirm checkouts load as before
5 - Enable recalls
6 - Recall an item checked out to this patron
7 - Confirm recall shows as expected

Signed-off-by: Sam Lau <samalau@gmail.com>
Comment 3 Katrin Fischer 2023-06-22 22:12:40 UTC
First strike, Nick - you forgot Assignee again :P
Comment 4 Katrin Fischer 2023-06-22 22:15:44 UTC
Created attachment 152607 [details] [review]
Bug 33944: Don't fetch item object unless using recalls

To test:
1 - Check someitems out to a patron
2 - View thier checkouts
3 - Apply patch, restart_all
4 - Confirm checkouts load as before
5 - Enable recalls
6 - Recall an item checked out to this patron
7 - Confirm recall shows as expected

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Tomás Cohen Arazi 2023-06-23 12:46:09 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 6 Martin Renvoize 2023-07-17 14:03:01 UTC
Thanks for all the hard work!

Pushed to 23.05.x for the next release
Comment 7 Pedro Amorim 2023-07-18 11:54:40 UTC
Nice work everyone!

Pushed to 22.11.x for next release