[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
Wed Jul 18 13:25:55 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5079
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10913|0 |1
is obsolete| |
--- Comment #38 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 10929
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10929&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.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list