Bug 12307: Catalog details page displaying incorrect status for items with itemtype...
authorBrendan Gallagher <info@bywatersolutions.com>
Thu, 22 May 2014 10:37:16 +0000 (06:37 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 11 Jul 2014 19:26:11 +0000 (16:26 -0300)
commit8476a3939941f0bae9ca647bb71c4d8ba559daf6
tree5f19dcc704a76268cd43e67e5b46e5ba1312fd1f
parent63c5ba9b037930c0b46f9a89c5cf3c55c12fb3b0
Bug 12307: Catalog details page displaying incorrect status for items with itemtype level notforloan status

The template markup that controls that status column for
the items table in catalogue/detail.pl does not account
for the itemtypes.notforloan flag.

Test Plan:
1) Find an item that is currently available
2) Go to the itemtype editor and mark that itemtype of that item
   as being not for loan
3) Browse to the catalog details page for that item's record
4) Note the item status is still "Available"
5) Apply this patch
6) Reload the catalog details page
7) Note the item status is now "Not for loan"

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Good catch! Works as described, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt