https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41131
Roman Dolny <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188561|0 |1 is obsolete| | --- Comment #2 from Roman Dolny <[email protected]> --- Created attachment 190482 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190482&action=edit Bug 41131: Don't allow limiting transfers from/to a single branch We say that you cannot limit transfers internally within a branch, but it seems we do allow you to, and don't show you when we do To test: 1 - Go to Admin->Library transfer limits 2 - On a branches page, uncheck the box for that branch e.g. don't allow FIC to transfer to CPL from CPL 3 - Save 4 - Note the box is still checked 5 - Check the DB SELECT * FROM branch_transfer_limits; 6 - There is a line to/from CPL! 7 - Apply patches 8 - updatedatabase 9 - Repeat 5 - the line is deleted! 10 - Try to create the rule again, not the box is now disabled 11 - Be sneaky, enable the box, uncheck it and save, no rule created 12 - Be sneaky, edit the HMTL for another button to make it limiting CPL to CPL, save, no rule created 13 - Sign off Signed-off-by: Roman Dolny <[email protected]> Works as described. One note about p. 12. No rule where created when I change TPL to CPL in proper checkbox attribute "name". But then rule for TPL was created, probably as effect of compare lists: (1) branches from DB and (2) branches from form. TPL was not present in form (changed to CPL), so TPL (used from list of branches) was treated as "unchecked" => "not allowed" and rule was created. [ branch_transfer_limits.pl line ~70 ] -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
