Distinguish between items marked 'not for loan' and 'Available'
authorJoshua Ferraro <jmf@liblime.com>
Wed, 4 Feb 2009 16:46:23 +0000 (10:46 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 9 Feb 2009 20:36:51 +0000 (14:36 -0600)
commit04270d01b2b74feda6d42124276fdcf7e5f4f4bd
treed8c895dfd1e7b5a6e5ac80991b9f94c52a275e0d
parentf823508b9edbb1ecb1bd20d2efbb8284697c85da
Distinguish between items marked 'not for loan' and 'Available'

This patch works with XSL* sysprefs == ON, a future patch will address XSL sysprefs==OFF

Items with notforloan set to a negative number still designate an 'ordered' status

Some items are marked 'not for loan' by setting that value at the item level, others by assigning
that value to that item's itemtype. This patch works for both scenarios.

Specific changes this patch introduces to the OPAC:

* Adds a new OPAC results page key 'Copies available for reference:'
* Changes 'Copies available at:' to 'Copies available for loan:'
* Changes the availability limit label in opac-advsearch from:
    'Only items currently available' to 'Only items currently
available for loan or reference
* Displays the authorised value for the specific notforloan value in the OPAC detail page in
parentheses next to 'Not for Loan'

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/XSLT.pm
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl