Bug 37618 - Select patron's, then item's home library by default for pickup location when creating bookings
Summary: Select patron's, then item's home library by default for pickup location when...
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Paul Derscheid
QA Contact: Testopia
URL:
Keywords:
Depends on: 36120
Blocks:
  Show dependency treegraph
 
Reported: 2024-08-12 10:07 UTC by Paul Derscheid
Modified: 2024-09-12 13:23 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function: bookings


Attachments
Bug 37618: Select patron's, then item's home library by default for pickup location when creating bookings (7.43 KB, patch)
2024-08-12 16:26 UTC, Paul Derscheid
Details | Diff | Splinter Review
Bug 37618: Select patron's, then item's home library by default for pickup location when creating bookings (7.51 KB, patch)
2024-09-12 11:44 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 37618: (follow-up) Inline single use function containsAny and remove definition (1.75 KB, patch)
2024-09-12 13:23 UTC, Paul Derscheid
Details | Diff | Splinter Review
Bug 37618: (follow-up) Remove redundant api call (3.93 KB, patch)
2024-09-12 13:23 UTC, Paul Derscheid
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Derscheid 2024-08-12 10:07:54 UTC
When working with many bookings per day, always selecting the pickup location can become cumbersome.

I'd suggest using the patron's home library as a preselection within the pickup library field in the bookings creation modal and to fall back onto the item's home library if the patron's home library is not available.

Would you also consider this a sane default?
Comment 1 Paul Derscheid 2024-08-12 16:26:33 UTC
Created attachment 170235 [details] [review]
Bug 37618: Select patron's, then item's home library by default for pickup location when creating bookings
Comment 2 Martin Renvoize 2024-08-15 15:01:32 UTC
I like the direction here.. will swing back around to it once I've wrapped my head around a few other bits in the bookings tree that are on my list for today.
Comment 3 Martin Renvoize 2024-09-12 11:44:16 UTC
Created attachment 171384 [details] [review]
Bug 37618: Select patron's, then item's home library by default for pickup location when creating bookings

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 4 Martin Renvoize 2024-09-12 11:44:56 UTC
Just a rebase so far.. still testing :)
Comment 5 Paul Derscheid 2024-09-12 13:23:14 UTC
Created attachment 171394 [details] [review]
Bug 37618: (follow-up) Inline single use function containsAny and remove definition
Comment 6 Paul Derscheid 2024-09-12 13:23:17 UTC
Created attachment 171395 [details] [review]
Bug 37618: (follow-up) Remove redundant api call