https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29048
Bug ID: 29048
Summary: Authorities search results - related records link
Change sponsored?: ---
Product: Koha
Version: 21.05
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The related records link in the authorities search results searches for
"an=authid", which returns all records with an started with authid (after
clicking the link). This causes a difference between the number of related
records and the number of records retrieved in the search (using
Elasticsearch).
The link should change from:
q=an=[% resul.authid | uri %]
To:
q=[% resul.authid | uri %]&idx=an,phr
in the following line:
https://github.com/Koha-Community/Koha/blob/master/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt#L110
Test plan:
- Create 10 authority with similar values
- Relate some record with authority 1
- Relate some record with authority 10
- Search authorities (authority 1 should have 1 related record)
- Click the related records link
- You should get 2 related records
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/