[Koha-bugs] [Bug 11676] Loading shelving locations based on the item's homebranch instead of the user's logged-in branch.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 5 17:32:52 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11676

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25034|0                           |1
        is obsolete|                            |

--- Comment #4 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 25060
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25060&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.


More information about the Koha-bugs mailing list