Bug 18366 - On shelf holds allowed > "If all unavailable" ignores library of the rule and considers all libraries
Summary: On shelf holds allowed > "If all unavailable" ignores library of the rule and...
Status: RESOLVED DUPLICATE of bug 18547
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All Mac OS
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-02 14:56 UTC by Claudio Costales
Modified: 2017-08-17 13:39 UTC (History)
5 users (show)

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 Claudio Costales 2017-04-02 14:56:23 UTC
On shelf holds allowed : "If all unavailable" ignores library of the rule and considers all libraries


will continue...
Comment 1 Claudio Costales 2017-04-02 18:50:18 UTC
On shelf holds allowed : "If all unavailable" ignores library of the rule and considers all libraries to make a reserve.

1) Supose there's a Koha instance with two libraries: A and B. Both libraries are configured -> On shelf holds allowed : "If all unavailable" in the issuingrules table
2) There's a record catalogued with two items attached: one for library A and one for library B
3) The items are barcode 100 (library A) and barcode 200 (library B)
4) We check-out item 100
5) Now item 100 is checked-out so "all items are unavailable" in library A
6) And item 200 is "available" in library B
7) Then if we try to make a reserve for a user of library A Koha refuse to do because of "there's no item available to make the reserve" (remember point 5)
8) Now we check-out item 200 of library B
9) If we try to make a reserve for a user of library A again, Koha makes de reserve correctly

So it seems Koha does not respect the library configuration rule when tries to make a reserve but considers all availability status of all items of all libraries instead. In my opinion this is wrong.

Syspref IndependentBranches has no effect (it is set to OFF). 
Syspref canreservefromotherbranches has no effect (it is set to OFF)

BZ 18150 has no effect.

Tested in 16.11.06
Comment 2 Katrin Fischer 2017-04-04 19:22:51 UTC
Hm, not sure if this is an alternative behaviour or a bug fix - I am adding some people CC in hope they can shed some light on the intended behaviour.

That said - I like the suggested workflow and would like to see it!
Comment 3 Claudio Costales 2017-04-04 19:48:07 UTC
Additional comment: each library has it's own issuing rules, which are the same but that are defined one per library
Comment 4 Katrin Fischer 2017-04-04 19:57:29 UTC
We have some overall settings also - I see where you are coming from, but we should check if a change here would break something for the sponsoring library.

The use case I think about is if the branches are close to each other (maybe faculty libraries on a campus?) where you actually want to check against all items over all libraries and expect the patron to walk there, if there is still one item available there.
Comment 5 Claudio Costales 2017-04-04 20:02:49 UTC
You are right Katrin. I was thinking about branches that are not close to each other...
Comment 6 Claudio Costales 2017-04-08 21:29:31 UTC
Katrin, it would be nice if we could count on with this behaviour, i.e., that Koha respects the issuing rule branch as the main option, but also to have a second one (via syspref?) that allows us to change the way Koha should consider reserve's branches.

So the options to make a reserve would be:
1) Koha should respect the issuing rule branch (branches that are not close to each other)
2) Koha should consider all branches (branches that are close to each other)

It would be nice too if you were in charge of this enhancement :)
Comment 7 Andreas Hedström Mace 2017-04-10 14:32:21 UTC
I agree with Cladio that the behaviour described here should be the default for "If all unavailable". I.e. Koha should respect the circulation rule of the branch in question when a hold is placed, not look at all libraries.

The other behaviour, where some branches are close together and holds should take several (or all) branches into account, can instead be handled by the proposed enhancement:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15708.

This feature would allow the grouping of libraries for holds, and allow more flexibility than as syspref only allowing one branch/all branches.
Comment 8 Claudio Costales 2017-05-07 18:25:10 UTC
Please pay attention to #18547
Comment 9 Katrin Fischer 2017-08-17 11:28:16 UTC
Should we mark this a duplicate to 18547?
Comment 10 Claudio Costales 2017-08-17 13:36:54 UTC
Yes we should. 

Please do not forget to consider Andreas' suggestion in comment #7.
Comment 11 Katrin Fischer 2017-08-17 13:39:27 UTC

*** This bug has been marked as a duplicate of bug 18547 ***