]> git.koha-community.org Git - koha.git/commit
Bug 27058: (follow-up) Clarify notforloan checks with a comment
authorJoonas Kylmälä <joonas.kylmala@helsinki.fi>
Fri, 5 Mar 2021 15:26:02 +0000 (17:26 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Mar 2021 08:05:18 +0000 (09:05 +0100)
commit6f60fa35b49fd129f2b9ca351b502ba63daf3f40
treee4305fb242d90cffffd7beac09dc122e12779a17
parenta311a5a80598a90346d44f4ca27bb22c7fb7d2c6
Bug 27058: (follow-up) Clarify notforloan checks with a comment

In IsAvailableForItemLevelRequest the check is for holdability and in
ItemsAnyAvailableAndNotRestricted the check is for
checkoutability. These comments should make it more clear because the
notforloan value is used for these two different purposes and is a bit
confusing (we might want to add a new field "notforhold" in future to
make the code self documenting)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9dcceb66fabc7569040c61fc7838d7d5e888e596)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Reserves.pm