From 7bfd0461d4e4422027a244a985dafcf3df8f887c Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sat, 1 May 2010 14:32:44 -0400 Subject: [PATCH] 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 --- koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc | 3 +-- koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl | 2 -- koha-tmpl/opac-tmpl/prog/en/modules/opac-MARCdetail.tmpl | 2 -- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl | 2 -- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 83cad83d96..eda798548e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -174,8 +174,7 @@ function confirm_items_deletion() {
  • ">Add to shelf
  • ">Print
  • - -
  • ">Place Hold
  • +
  • ">Place Hold
  • diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl index d7fb2b095a..039e2ea52e 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl @@ -47,7 +47,6 @@