Bug 21012 - Inventory filters do not show proper shelving locations in dropdown for the selected library
Summary: Inventory filters do not show proper shelving locations in dropdown for the s...
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P4 normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-28 06:38 UTC by Theodoros Theodoropoulos
Modified: 2019-10-14 19:57 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Theodoros Theodoropoulos 2018-06-28 06:38:45 UTC
It seems that in the Inventory tool, after choosing a library in the "Select items you want to check" area, the Shelving location dropdown list is not updated accordingly also to show the relevant shelving locations of the chosen library.

(That of course implies that there are some shelving locations that are restricted to only some libraries. Shelving locations with no library restrictions are of course shown here regardless of the chosen library)

In case that this was 'by design', for consistency the user should not be able to choose a library either and be restricted to run the tool only for his/hers home library. 

So, my point is that if one can choose another library then he/she should see the appropriate shelving locations for that library (in addition to the ones that are available to all) or else that part of the tool is not usable.

Testing plan:
1/ Create a shelving location SL1 that is only available to branch A
2/ Create a shelving location SL2 that is only available to branch B
3/ (optionally) Create a shelving location SL3 with no branch restriction
4/ Assign user U1 to branch A
5/ If you go to Tools->Inventory, in the "Select items you want to check" area you will see only SL1 and SL3 regardless of the library selected. 
The 'proper' behavior would be to see SL1/SL3 if you choose branch A and SL2/SL3 if you choose branch B
Comment 1 Theodoros Theodoropoulos 2018-06-28 06:42:55 UTC
Clarification: 
The aforementioned "Select items you want to check" area was used in previous Koha versions and has been replaced by "Item location filters"
Comment 2 Theodoros Theodoropoulos 2018-06-28 07:09:05 UTC
I have been testing with 16.11 and the bug was there. Also, I couldn't find a relevant bugzilla case (open or closed), so I created one.

HOWEVER, it seems that the behavior was fixed in some of the latest Koha versions (tried with a demo 18.05).

Closing case as the bug was fixed at some point :)