[Koha-bugs] [Bug 29462] OPACPopupAuthorsSearch doesn't work when authors include $d, $4, and possible other subfields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 16 11:39:33 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29462
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart+koha at gmail.
| |com
--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I am seeing a lot of code related to this feature that has been removed on
commit 56c2856e268ec02638898923d751a0b69c716f93
Bug 12561: Remove non-XSLT views
For instance the class "authority_link" that is used in opac-detail.tt to
generate the link was only used by the non-XSLT part.
It feels like we never really implemented this feature for the XSLT view.
It seems that we need to add the class "authority_link" to the link, with a
data-authid
Related code is:
1876 if( $(this).hasClass("authority_link") ){
1877 authid = $(this).data("authid");
1878 search_string = "an:" + authid;
1879 } else {
1880 search_string =
terms[term]["keyword_search"] + encodeURIComponent( search_label );
1881 }
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list