[Koha-bugs] [Bug 17624] Hide not-for-loan items on search results' availability

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 16 13:46:29 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17624

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 57540
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57540&action=edit
Bug 17624: Hide not-for-loan items on search results' availability

Currently, not for loan items are listed as copies for reference on the
OPAC XSLT search results.
This reports add a preference to hide or show these not-for-loan items on
the OPAC XSLT results view. It is: OPACXSLTResultsHideNFL.
By default, it will still show them. So, no behavior change here.

Note: This patch also removed a double line in the pref file that resulted in
a small empty table row at the end of the Appearance section for OPAC
preferences.

Test plan:
[1] Run the dbrev via the web installer. Verify that the pref is still off.
    This means that not-for-loans should be listed on the Availability
    line as "Copies available for reference".
[2] Set the pref to Hide.
[3] Verify that the not-for-loans are not shown in the search results.
    Note that you still see them in the details view (no problem: they
    are listed just as what they are: not for loan).
[4] Set OpacItemLocation to Location. Look at the search results again.

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


More information about the Koha-bugs mailing list