[Koha-bugs] [Bug 21261] New: OpacResults XSLT does not honor opachiddenitems

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 23 15:59:56 CEST 2018


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

            Bug ID: 21261
           Summary: OpacResults XSLT does not honor opachiddenitems
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

Created attachment 78096
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78096&action=edit
In OPACResults, the withdrawn item is shown

In the case where a record has more than one item and one of them is supposed
to be hidden as per opachiddenitems, the record appears in the results list and
shows the supposedly hidden item.

Expected result: in the result list, the record should appear and show only the
items not hidden

To reproduce :
1- Go to Administration > Global System Preferences
2- Search for opachiddenitems
3- Add the following value to the system preference: withdrawn: [1]
4- Click on "Save all OPAC preferences"
5- In the search bar, click on "Search the catalog"
6- Search for anything
7- Find a record with two (or more) items, OR
7a- Click on "Edit items"
7b- Add an item by filling in the form
8- Change withdrawn status (field 0) for one of the items, the other(s) must be
available
9- Go to the OPAC
10- Do a search large enough to get a couple of results in addition to the
record modified above
11- In the results list, available items appear in green and the withdrawn item
appears in red
12- Go into the detailed record
13- The withdrawn item does not appear

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


More information about the Koha-bugs mailing list