Bug 41982 - Linked items resulting from EasyAnalyticalRecords are not shown on OPAC results page
Summary: Linked items resulting from EasyAnalyticalRecords are not shown on OPAC resul...
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Janusz Kaczmarek
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-03 19:05 UTC by Janusz Kaczmarek
Modified: 2026-03-03 20:27 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: Sponsored
Comma delimited list of Sponsors: Pontificia Università di San Tommaso d'Aquino (Angelicum)
Crowdfunding goal: 0
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41982: Linked items resulting from EasyAnalyticalRecords are not shown on OPAC results page (2.80 KB, patch)
2026-03-03 20:26 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 41982: Unit tests (2.44 KB, patch)
2026-03-03 20:26 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Kaczmarek 2026-03-03 19:05:41 UTC
When using EasyAnalyticalRecords, "virtual" items originating from host records are shown in: 1) staff detail, 2) staff results, 3) OPAC detail, but not on OPAC results page.

To reproduce (in ktd):
1) Turn EasyAnalyticalRecords on.
2) Link the item 3999900000001 (originating from biblio #1) to biblio #2 (with New > Link to host record).
3) Check that you are able to see the linked item in staff detail and OPAC detail (biblio record #2) and also on the staff results page (make a search with the word 'behind'). Verify that on the OPAC results page (with the same search) you get: "Availability: No items available."

This is confusing and inconsistent.
Comment 1 Janusz Kaczmarek 2026-03-03 20:26:23 UTC
Created attachment 194411 [details] [review]
Bug 41982: Linked items resulting from EasyAnalyticalRecords are not shown on OPAC results page

When using EasyAnalyticalRecords, "virtual" items originating from
host records are shown in: 1) staff detail, 2) staff results, 3) OPAC
detail, but not on OPAC results page. This is confusing and
inconsistent.

To reproduce (in ktd):
1. Turn EasyAnalyticalRecords on.
2. Link the item 3999900000001 (originating from biblio #1) to biblio
   #2 (with New > Link to host record).
3. Check that you are able to see the linked item in staff detail and
   OPAC detail (biblio record #2) and also on the staff results page
   (make a search with the word 'behind'). Verify that on the OPAC
   results page (with the same search) you get: "Availability: No items
   available."
4. Apply the patch ; restart_all
5. Repeat p. 3. You should now be able to see information from the
   linked item on OPAC results page.

Sponsored-by: Pontificia Università di San Tommaso d'Aquino (Angelicum)
Comment 2 Janusz Kaczmarek 2026-03-03 20:26:25 UTC
Created attachment 194412 [details] [review]
Bug 41982: Unit tests

Caveat, errors from QA script about 'http://' are misleading.