]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Mar 2021 14:15:49 +0000 (15:15 +0100)
commit9dcceb66fabc7569040c61fc7838d7d5e888e596
tree6c35b6b15c4bb9583a77a1310445d5de2f284e42
parent8c68fa762efe68e7d708c2f41aff7bcb848d69c0
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>
C4/Reserves.pm