Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Kyle M Hall 43c875b683 Bug 5079 - Make display of shelving location and call number in XSLT results controlled by sysprefs
* Don't show the Location line if there are no copies available, since it
  will inevitably be blank

* Also, don't show locations for Checked Out, Lost, Damaged, Withdrawn,
  On Hold or In transit items; it doesn't really make sense, since the
  items aren't actually there, and it results in repetitive listing of
  the shelving location

* Added system preference to display shelving location of an item on opac
  results. The system preference is called OpacItemLocation. I also moved
  the call number to a new line called Location along with the shelving
  location if it is enabled.

To Test:
  1) Run database update script to add syspref.
  2) Set OpacItemLocation to show locations or collection codes on the
     opac-search page.

  If it is working you should see the shelving location of the item
  before the call number. Multiple home branch shelving locations
  are seperated by a pipe character ( i.e. '|' ).

Based on code by Elliot Davis <tdavis@uttyler.edu>

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Works as advertised.

Signed-off-by: Ed Veal <ed.veal@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-07 11:05:00 -05:00
..
acqui Bug 9555: Template files contain single quote strings 2013-02-28 19:16:00 -05:00
admin Bug 5079 - Make display of shelving location and call number in XSLT results controlled by sysprefs 2013-03-07 11:05:00 -05:00
authorities Bug 9676 - Replace YUI buttons on authorities editor page with Bootstrap 2013-03-07 10:20:38 -05:00
basket Bug 9669 - Replace YUI buttons on staff client cart toolbar 2013-02-28 19:14:46 -05:00
batch Bug 7760: Add ids and classes to every staff page to help with customizaton (batch, error) 2012-03-22 18:12:24 +01:00
catalogue Bug 9034: Filters are disabled by default 2013-02-07 19:36:15 -05:00
cataloguing Bug 9450 [Revised] Use DataTables in cataloging Z39.50 search results 2013-03-07 10:38:01 -05:00
circ bug 9397 - Error Messages hard to find for Visually Impaired Users (Accessibility) [Returning Items] {REVISION 1.1} 2013-03-02 12:18:15 -05:00
errors Bug 2780 - Capitalize strings consistently (Error pages) 2012-04-10 10:03:32 +02:00
help Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
installer Bug 2780 - Capitalize strings consistently (Installer) 2012-04-10 10:03:33 +02:00
labels Bug 9635 - Replace YUI buttons on label batches pages with Bootstrap 2013-02-18 08:55:55 -05:00
members Bug 9586 - Remove $ENV{DEBUG} info from Member Template 2013-03-07 09:49:10 -05:00
offline_circ Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
patroncards Bug 9693 - Remove YUI styling from buttons on the patron card creator's image manage page 2013-03-07 10:03:25 -05:00
reports Bug 9658: Incorrect breadcrumb on report dictionary 2013-02-20 08:21:56 -05:00
reserve Bug 8942: Translation process breaks javascript 2013-01-31 11:00:24 -05:00
reviews Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
rotating_collections Bug 2780 - Capitalize strings consistently (reserve, review, rotating collections) 2012-04-10 10:04:13 +02:00
serials Bug 7608: Manual history should not always be enabled 2013-02-15 07:46:51 -05:00
services Bug 8637: Lack of control on mandatory in orderreveive.tt 2012-08-31 13:48:52 +02:00
sms Bug 2780 - Capitalize strings consistently - various 2012-04-10 10:04:16 +02:00
suggestion Bug 9653: FIX collapse class is used by already Bootstrap 2013-03-07 09:28:53 -05:00
tags Bug 9473: Use DataTables on tags list page 2013-02-07 07:48:05 -05:00
test bug 6372: moved background-job.inc to background-job-progressbar.js 2012-05-07 23:00:34 +02:00
tools Bug 9650 - Show message if there are no notices 2013-02-20 08:25:33 -05:00
virtualshelves Bug 8942: Translation process breaks javascript (followup 2) 2013-01-31 11:00:24 -05:00
z3950 Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
about.tt Bug 9418: Some corrections and additions to about.tt 2013-02-01 11:26:21 -05:00
auth.tt Bug 2780 - Capitalize strings consistently (home, about, login) 2012-04-10 11:10:02 +02:00
intranet-main.tt Bug 7067 [Follow-up: templates] allow patron self registration via the opac 2012-12-14 08:08:59 -05:00