Bugzilla – Attachment 193349 Details for
Bug 39658
Allow definition of non-hierarchical linked patron accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39658: Circulation: Add linked account hold pickup redirect
Bug-39658-Circulation-Add-linked-account-hold-pick.patch (text/plain), 1.53 KB, created by
Jacob O'Mara
on 2026-02-18 14:20:37 UTC
(
hide
)
Description:
Bug 39658: Circulation: Add linked account hold pickup redirect
Filename:
MIME Type:
Creator:
Jacob O'Mara
Created:
2026-02-18 14:20:37 UTC
Size:
1.53 KB
patch
obsolete
>From 778e05b04e7081581e5a700e25ac8d09b75c5264 Mon Sep 17 00:00:00 2001 >From: Jacob O'Mara <Jacob.omara@openfifth.co.uk> >Date: Wed, 21 Jan 2026 15:36:16 +0000 >Subject: [PATCH] Bug 39658: Circulation: Add linked account hold pickup > redirect > >Enable linked patrons to pick up each other's holds when allowed. >--- > circ/circulation.pl | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index dddd2a1f5f9..1bdd47321ae 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -548,8 +548,19 @@ if ( @$barcodes && $op eq 'cud-checkout' ) { > $datedue = $booked->end_date; > } > $needsconfirmation->{'DEBT'} = $needsconfirmationDEBT if ($debt_confirmed); >+ >+ # Handle linked account hold pickup - redirect checkout to hold patron's account >+ my $checkout_patron = $patron; >+ if ( $alerts->{LINKED_ACCOUNT_HOLD_PICKUP} ) { >+ $checkout_patron = $alerts->{LINKED_ACCOUNT_HOLD_PICKUP}->{hold_patron}; >+ $template_params->{linked_account_checkout} = { >+ original_patron => $patron, >+ hold_patron => $checkout_patron, >+ }; >+ } >+ > my $issue = AddIssue( >- $patron, $barcode, $datedue, >+ $checkout_patron, $barcode, $datedue, > $cancelreserve, > undef, undef, > { >-- >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 39658
:
193344
|
193345
|
193346
|
193347
|
193348
|
193349
|
193350
|
193351
|
193352
|
193353
|
193354
|
193355
|
193356
|
193357
|
193358
|
193359
|
193462
|
193463
|
193464
|
193465
|
193466
|
193467
|
193468
|
193469
|
193470
|
193471
|
193472
|
193473
|
193474
|
193475
|
193476
|
193477
|
193478
|
193479
|
193781
|
193782
|
193783
|
193784
|
193785
|
193786
|
193787
|
193788
|
193789
|
193790
|
193791
|
193792
|
193793
|
193794
|
193795
|
193796
|
193797
|
193798
|
193800
|
193801
|
193802
|
193803
|
193804
|
193805
|
193806
|
193807
|
193808
|
193809
|
193810
|
193811
|
193812
|
193813
|
193814
|
193815
|
193816
|
193817