[Bug 29462] New: OPACPopupAuthorsSearch doesn't work when authors include $d, $e and possible other subfields
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29462 Bug ID: 29462 Summary: OPACPopupAuthorsSearch doesn't work when authors include $d, $e and possible other subfields Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org When using OPACPopupAuthorsSearch with MARC records that have entries like: 700 1 _ ‡aName, Name‡d1960-‡4aut‡969108866 700 1 _ ‡aOthername, Othername‡d1945-t‡957721213 If you select both of those for search, it will create a seach link that includes the content from d and 4 with [] and the search won't work. I am also seeing other issues where I am redirected immediately to /cgi-bin/koha/undefined but not sure yet how to recreate. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29462 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|OPACPopupAuthorsSearch |OPACPopupAuthorsSearch |doesn't work when authors |doesn't work when authors |include $d, $e and possible |include $d, $4, and |other subfields |possible other subfields -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29462 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- The "undefined" problem seems linked to our own XSLT, with "default" it works and only shows the subfield issue. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29462 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |13327 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13327 [Bug 13327] OPACPopupAuthorsSearch doesn't work with XSLT views -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29462 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #2 from Jonathan Druart <jonathan.druart+koha@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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org