When searching for linked records for an authority in OPAC's authority search the search is not exact.
Will bring up all records with an authority number starting with one.
The link in intranet works correctly:
Changing the opac link accordingly brings up the right records:
Created attachment 4001 [details] [review]
Created attachment 4018 [details] [review]
Pushed, please test
comment from hdl:
imho, phr is not really what we would like.
What would best fit is the usage of ext... But that would require a
change in the koha-Auth-Number indexing and reindexing the biblios....
elm xxx$9 Koha-Auth-Number:w,Koha-Auth-Number:p,Koha-Auth-Number:n
n declaration should be optionnal.
Which may not be what we want either.
there are other places where this is required and needed
xslt, opac-detail and intranet detail
hope that helps.
I copied the search string from intranet to opac, because it worked like I expected it to work in intranet.
The search link is constructed quite differently from other places in Koha, like the XSLT files. So I am not sure more changes are needed. I had tested a search for the author from the OPAC detail page and it seemed to work ok.
This needs more testing, but I think the patch will fix the described problem in OPAC's authority search.