]> git.koha-community.org Git - koha.git/commit
Bug 23296: Set patron branchcode when preparing non-digest version
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 25 Jan 2024 21:54:21 +0000 (21:54 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 28 May 2024 16:56:46 +0000 (16:56 +0000)
commit73837eb64c15ca578e0248d31dccf10b7db7767b
treed287f62758ef9c3a2f6f8643e940be0614a5e529
parenta66c9e2944c10c35ec84c54a151bced954fae877
Bug 23296: Set patron branchcode when preparing non-digest version

To test:
1. APPLY PATCH
2. Set up circ rules to allow for auto renewals.
3. Set AutoRenewalNotices to 'according to message prefs'
4. Make a branch specific version of the the AUTO_RENEWAL notice.
5. Find a patron belonging to that branch and set the message prefs to allow for a AUTO_RENEWAL. But no digest option!
6. Check some things out and make sure they are eligble for auto renewal.
7. Run the cron.
8. Make sure the patron gets the branch specific notice.
9. Delete the branch specific notice.
10. DO 6-7 again.
11. Make sure they now get the all library notice.

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
[EDIT] Tidied one line.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ade75ea56158e6cf87894d0aeba1711e73dbfcda)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 8607c04099b2296046236de15a246d7999157f1b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/cronjobs/automatic_renewals.pl