Bug 37063 - Show Analytics link not displaying with Analytics enhanced workflow
Summary: Show Analytics link not displaying with Analytics enhanced workflow
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 23.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 17:30 UTC by Esther Melander
Modified: 2025-06-02 20:45 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esther Melander 2024-06-10 17:30:19 UTC
To replicate:

1. Ensure the 773 tag is available in the framework.
2. Ensure the system preference EasyAnalyticalRecords is set to don't show
3. Ensure UseControlNumber is set to use.
4. Add a serial record, ensure the Leader space 7 is a serial.
5. From the new serial record, Edit - Add new child record.
6. Add the child record and ensure the 773 $w has the 001 control number from the host/parent record. Also ensure the Leader space 7 is a serial component part.
7. Save the record.

The child record should have an "In: Serial Title" link in the bibliographic record detail view. Click on this link to return to the parent record.

Notice the parent record is missing the "Analytics: Show Analytics" Link.
Comment 1 Katrin Fischer 2024-06-17 08:36:37 UTC
Hi Esther, some additional questions that might help resolve this:

* Are you using Elasticsearch or Zebra?
* Has this worked before or did it break after an update?
* When using Elasticsearch: do you have a cni index defined for 003 in your search mappings?
Comment 2 Esther Melander 2024-06-17 16:01:44 UTC
The problem appeared in 23.11, which is using ElasticSearch.

It works in 23.05, which is using Zebra.

I will update when I know more about the ElasticSearch mapping.
Comment 3 Katrin Fischer 2024-06-17 16:16:09 UTC
I think since 22.11 we do a background search that makes the link only appear, if there are results to the search. If it is an updated system the control-number-identifier (cni) index might not be there or filled. But that's just a first idea.
Comment 4 Esther Melander 2024-06-18 16:39:19 UTC
It looks like the 23.11 test site had an older ES index. Updating it appears to have solved the problem. I will go ahead and mark this bug as resolved.