https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35292
Emmanuel Bétemps <e.bete...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180214|0 |1 is obsolete| | --- Comment #47 from Emmanuel Bétemps <e.bete...@gmail.com> --- Created attachment 180634 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180634&action=edit Bug 35292: Have UpdateNotForLoanStatusOnCheckOut and UpdateNotForLoanStatusOnCheckIn use the same function Both sysprefs use the same codebase. Hence the recent upgrades for UpdateNotForLoanStatusOnCheckOut were not applyied to checkout. In this patch, we refacto code in order to have them both use the same function. 1 - Set UpdateNotForLoanStatusOnCheckin to 2: 0 2 - Set UpdateNotForLoanStatusOnCheckout to _ALL_: 0: 2 3 - Check out a book -> Its notforloan status is set to 2 3b - Check you have 2, 3 and 4 in notforloan, if not add those values with any description 4 - Check in the book -> Its notforloan status is set to 0, you get a notification 6 - APPLY PATCH and update database 7 - Set UpdateNotForLoanStatusOnCheckin to _ALL_: 2: 0 BK: 3: 0 CR: 4: 0 8 - Set UpdateNotForLoanStatusOnCheckOut to _ALL_: 0: 2 BK: 0: 3 CR: 0: 4 8 - Check out a book -> Its notforloan status is set to 3 9 - Check in the book -> Its notforloan status is set to 0, you get a notification 10 - Check out a continuing resource -> Its notforloan status is set to 4 11 - Check in a continuing resource -> Its notforloan status is set to 0 11 - Check out another type of resource -> Its notforloan status is set to 2 12 - Check in the document -> Its notforloan status is set to 0 Signed-off-by: Emmanuel Bétemps <e.bete...@gmail.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/