bug 4396: remove reerences to bi_notforloan
authorGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 18:32:44 +0000 (14:32 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 3 May 2010 11:45:19 +0000 (07:45 -0400)
commit7bfd0461d4e4422027a244a985dafcf3df8f887c
treeba8f93a3e9b5d56c3df12daa1348bd39cc491972
parent0c39f1ac9b5407b06357e1e936ea0d723da42367
bug 4396: remove reerences to bi_notforloan

These were causing the OPAC details place hold button to disappear
in circumstances where a bib-level item type was set to a non-loanable
item type even when item-level_itypes was on.

This change does mean that if item-level_itypes is not turned on,
the hold button will now appear for bibs whose bib-level item type
has its not-for-loan flag set; however, if this is a problem, a
better long-term fix would be to use CanBookBeReserved() instead.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl