Bug 14770 - Use $9 in GetMarcSeries to build search link
Summary: Use $9 in GetMarcSeries to build search link
Status: RESOLVED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 12:42 UTC by Julian Maurice
Modified: 2023-08-26 20:00 UTC (History)
2 users (show)

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


Attachments
Bug 14770: Use $9 in GetMarcSeries to build search link (4.79 KB, patch)
2015-09-02 12:44 UTC, Julian Maurice
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Maurice 2015-09-02 12:42:29 UTC
Use $9 in GetMarcSeries to build search link
Comment 1 Julian Maurice 2015-09-02 12:44:30 UTC
Created attachment 42220 [details] [review]
Bug 14770: Use $9 in GetMarcSeries to build search link

The behaviour is the same as in GetMarcAuthors.
Also skip $3 subfields if UNIMARC
Comment 2 Julian Maurice 2015-09-02 12:50:33 UTC
Test plan:

1/ In your MARC framework configure the field 225 (440..490 for MARC21/NORMARC) like this:
1.1/ Add a subfield $9
1.2/ Set an authority link on subfield $a
2/ Create biblio and use the authority plugin to fill field 225 (440..490 for MARC21/NORMARC)
3/ Check on staff and opac detail pages that the series link is like "search.pl?q=an:XXXXX" where XXXXX is the id of the linked authority
4/ Remove the $9 and check the link is like "search.pl?q=se:ABCDEF" where ABCDEF is the value of $a
Comment 3 Jonathan Druart 2015-12-28 11:49:27 UTC
Tests are missing for the changes in C4::Biblio::GetMarcSeries
Comment 4 Katrin Fischer 2023-08-26 20:00:22 UTC
The non-XSLT views have since been removed, marking this invalid.