Fix reversed logic for hold "blob" notes user/catalystit/lp1109316-signoff
authorKyle Tomita <ktomita@catalystitservices.com>
Tue, 26 Mar 2013 18:49:08 +0000 (11:49 -0700)
committerKyle Tomita <ktomita@catalystitservices.com>
Tue, 26 Mar 2013 18:49:08 +0000 (11:49 -0700)
commit22f23290241d0d3089c45a246b995cd20a9752ef
tree7f8a64e9ebed833f94c940b48b4c1bc20ca16ce4
parentbfd6f7871e608b39bb40bd768ff4fff480ac1120
Fix reversed logic for hold "blob" notes

Hold notes (at least at the data level) allow for both staff and
"private" notes to be attached. This code intended to show "private"
notes to the hold owner and staff notes to staff, but had the logic
reversed.

Allow access to public hold notes via hold "blob"

If a hold note is marked as "public", it seems reasonable that it
should be visible to anyone who can see that hold, regardless of
who created the note.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kyle Tomita <ktomita@catalystitservices.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm