Bug 29423 - Link of opac-detail.pl use biblioitemnumber
Summary: Link of opac-detail.pl use biblioitemnumber
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-05 11:34 UTC by Rui Coelho
Modified: 2023-06-08 22:26 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Coelho 2021-11-05 11:34:01 UTC
Hi.

We found that in some situations when we click on a link instead of the correct record appearing, another record appears.

After some analysis I found that for this record the biblioitemnumber is different from the biblionumber.

When the link is built instead of placing the biblionumber, the biblioitemnumber is placed generating the error.

How can I put the biblionumber in the construction of the link to the record detail?
Comment 1 Owen Leonard 2021-11-05 11:49:13 UTC
Can you describe exactly how to reproduce this bug? Which link isn't working correctly?

What version of Koha are you using?
Comment 2 Rui Coelho 2021-11-05 11:57:02 UTC
For example the link https://estc.biblio.ipl.pt/cgi-bin/koha/opac-detail.pl?biblionumber=101587&query_desc=au%2Cwrdl%3A%20Isabela%20Figueiredo is not working correctly because it is pointing to record 101587 when it should be pointing to 101594.

The record has biblionumber = 101594 and biblioitemnumber = 101587.

We using koha version 16.11.14.000.
Comment 3 Owen Leonard 2021-11-05 12:01:00 UTC
Unfortunately 16.11.x is very old and unsupported. Your best option is to upgrade so that you know you're not dealing with a bug that has already been fixed.
Comment 4 Katrin Fischer 2022-07-17 11:16:39 UTC
It's not easy to check if this has since been fixed, as there is not much information about the broken links. I couldn't find any references to biblioitemnumber in neither opac-detail.pl or opac-detail.tt