https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38894 --- Comment #1 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 176534 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176534&action=edit Bug 38894: Use HomeOrHoldingBranch with longoverdue cronjob To test: 1: have 4 items, 2 with homebranch = Library A and 2 with homebranch = Library B 2: Logged into Library A, check out 1 Library A item and 1 Library B item, both with due dates in the past enough for the longoverdue cron 3: set yourself to Library B, check out 1 Library A item and 1 Library B item, both with due dates in the past enough for the longoverdue cron 4: Run longoverdue cron with --verbose, without --confirm, and without --Library. see that it would act on all 4 items 5: Set CircControl to "the library the item is from" 6: Set HomeOrHoldingBranch to "the item's home library" 7: Run longoverdue cron with --verbose and --library="A" (where A is the code for your Library A), wihout --confirm 8: See the cron wants to act on the items with homebranch = A 9: Set HomeOrHoldingBranch to "the item's holding library" 10: Run longoverdue cron with --verbose and --library="A" (where A is the code for your Library A), wihout --confirm 11: See the cron is still trying to act on the two items with homebranch = A 12: Apply patch, restart all 13: Run longoverdue cron with --verbose and --library="A" (where A is the code for your Library A), wihout --confirm 14: See the cron is now trying to act on the two items with holdingbranch = A 15: Set HomeOrHoldingBranch to "the item's home library" 16: Run longoverdue cron with --verbose and --library="A" (where A is the code for your Library A), wihout --confirm 17: See the cron wants to act on the items with homebranch = A -- You are receiving this mail because: You are watching all bug changes.