[Koha-bugs] [Bug 29606] Include items from host record in XML for XSLT processing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 1 09:02:27 CET 2021


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

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 128118
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128118&action=edit
Bug 29606: Include items from host record in XML for XSLT processing

If EasyAnalyticalRecords is enabled, items from host records should be
included in the XML. Otherwise, OPAC search results show no items.

Test plan:
0. Do not apply the patch yet
1. Enable syspref EasyAnalyticalRecords and set OPACXSLTResultsDisplay
   to 'default'
2. Create a biblio record with title "parent" and create an item with a
   barcode for this biblio
3. Create a biblio record with title "child" with no items. On the
   biblio detail page, in the toolbar, click "Edit -> Link to host
   record" and enter the barcode for the item you created at step 2
4. Duplicate this biblio record, to be sure you will have at least two
   results with the search "child" (and not be redirected to the detail
   page)
5. Make sure your search index (zebra or elasticsearch) is up to date
6. Go to OPAC and search "child".
   You should see two results, no items.
   Click on one of them. On the detail page you should see one item (the
   one from the host record)
7. Apply the patch
8. Go to OPAC and search "child".
   You should now see one item (the same item) for each result.

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


More information about the Koha-bugs mailing list