http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11676
--- Comment #1 from Olli-Antti Kivilahti <olli-antti.kivila...@jns.fi> --- Created attachment 25034 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25034&action=edit Bug 11676 - Loading shelving locations based on the item's homebranch instead of the user's logged-in branch. For pageload. -Modifies the Koha::GetAuthorisedValues() to support passing a branchcode as a parameter -Modifies cataloguing/additem.pl to find the items.homebranch and pass this to the GetAuthorisedValues(). ------------- - TEST PLAN - ------------- 1. Define shelving locations for a specific branch: Go to Administration -> Authorised values -> category: LOC, Add a new value X specific to branch A, Add a new value Y specific to branch B. 2. Set your logged in library to branch C. 3. Edit an item. Set the Permanent location to branch A. Save the item. 4. Edit the item. Shelving locations has location X selectable in addition to the default ones. Set the Permanent location to branch B. Save the item. 5. Edit the item. Shelving locations has location Y selectable in addition to the default ones. Set the Permanent location to branch C. Save the item. 6. Edit the item. Shelving locations has neither Y or X selectable. Don't save. 7. Set your logged in branch to A. 8. Edit the item. Shelving locations has neither Y or X selectable. Don't save. This is how we do it! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/