]> git.koha-community.org Git - koha.git/commit
bug 4396: clarify return of itemtype-level notforloan flag
authorGalen Charlton <gmcharlt@gmail.com>
Sat, 1 May 2010 18:02:32 +0000 (14:02 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 3 May 2010 11:45:19 +0000 (07:45 -0400)
commit96a70655aac0c96b82a77dd1e71eee7858d7a274
tree23c3dd88bb00b0b968aa932a5ab8b63497bd2177
parenteb0196cda3f93eeb2289dd4e734ca9a9a1bf40b6
bug 4396: clarify return of itemtype-level notforloan flag

* GetItemsInfo now includes a notforloan_per_itemtype key
  with the value of the item type's notforloan setting, correctly
  set based on the value of the item-level_itypes syspref
* Adjusted OPAC details item status display to use that
  notforloan_per_itemtype key

NOTE: one of the assumptions of item-level_itypes is that
      you can have either bib-level item types or item-level
      item types, but not both in the same database.  In particular,
      it does not establish a hierarchy where Koha checks the
      item-level itemtype first, then the bib-level.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Items.pm
koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc