This patch fixes the OPAC view and holdability of items:
authorJoshua Ferraro <jmf@liblime.com>
Fri, 25 Jul 2008 16:32:06 +0000 (11:32 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 25 Jul 2008 16:32:06 +0000 (11:32 -0500)
commit5c2ba655414850d1cd25d4fcf3141f19f65186d1
tree5c5c405801d4e37e102648e54c875bbc394b2a95
parent6cc8b7ce100a6ccb23772b7226e05a1b0c7c5360
This patch fixes the OPAC view and holdability of items:

1. restores a check to itemtype.notforloan to set the norequests flag
2. changes improper boolean OR with AND for checking conditions of setting norequests
3. displays 'Not for loan' for item-level itypes when the itemtype is set to notforloan
4. restores items.notforloan values < 0 allowing holds (ordered items for instance)

We still need a notforhold flag set at the itemtype, and items level
C4/Items.pm
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
opac/opac-detail.pl