[Koha-bugs] [Bug 5079] Make display of shelving location and call number in XSLT results controlled by sysprefs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 17 23:48:55 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5079

--- Comment #37 from Elliott Davis <elliott at bywatersolutions.com> ---
Created attachment 10913
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10913&action=edit
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. '|' ).

Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Rebased on latest master, removed the reformatting, and changed the
syspref to be a choice between showing the call number only, the
location, and the collection code.

Signed-off-by: Elliott Davis <elliott at bywatersolutions.com>

Works as Advertised.  I would like to see the logic added to differenciate
between multiple locations and a single location for the word 'location(s)' but
that goes beyond the scope of this ticket.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list