https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35299
--- Comment #5 from Janusz Kaczmarek <[email protected]> --- (In reply to Katrin Fischer from comment #4) > (In reply to Janusz Kaczmarek from comment #3) > > If I may comment it: I perfectly understand the use case. We solve it by > > assigning notforloan = 0 and restricted = 1 in such cases. The user sees > > then: "Available (Restricted access)" (in green) as item status. > > > > What would serve, however, would be a possibility to on-site check-out those > > restricted items. > > > > Wouldn't be enough? > > Restricted = 1 cannot be checked out - not even as an on-site, IRRC? Exactly. Interestingly, only == 1, but not for other values (no idea why so). A tiny patch like: diff --git a/C4/Circulation.pm b/C4/Circulation.pm index a9f32c34e8..72aae56c69 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1052,7 +1052,8 @@ sub CanBookBeIssued { $issuingimpossible{WTHDRAWN} = 1; } if ( $item_object->restricted - && $item_object->restricted == 1 ) + && $item_object->restricted == 1 + && ! $onsite_checkout ) { $issuingimpossible{RESTRICTED} = 1; } would make on-site check-outs of such materials possible. If it looks like a good idea I could prepare an official patch (I patch this in some of my installations anyway). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
