[Bug 20277] New: Link to host item doesn't work in analytical records if 773$a is present
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Bug ID: 20277 Summary: Link to host item doesn't work in analytical records if 773$a is present Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: verolencinas@yahoo.com.ar QA Contact: testopia@bugs.koha-community.org A lot of analytical records are made for serials. And for most of them the title is their primary access point. The OPAC and intranet link in the analytical record to the host item works well in these cases. But if you have a 1XX field in your host item, this information goes in your 773$a subfield but the OPAC and intranet link in the analytical record to the host item includes 773$a and 773$t data but searches only in the title index. In this situation you can't retrieve the host item record. Test: - Create an analytical record for a (host)record with a 1XX field. - Use the link in the analytical ("In" note) to retrieve the host record in the intranet client and the OPAC. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Version|unspecified |master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |enhancement CC| |martin.renvoize@ptfs-europe | |.com --- Comment #1 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Is this still an issue.. changing to enhancement request as it's not received any attention. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Assignee|oleonard@myacpl.org |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 124061 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124061&action=edit Bug 20277: Improve 773 link when $a is present At the moment $t (Title) and $a (Main heading - author) are both searched in ti,phr, which sometimes may work, as ti contains the full 245 field, including $c with author information. But often $c will not match what is in 100$a, so the search fails. This splits the search string so we search for $t in with ti,phr and for $a in au. To test: - Make sure UseControlnumber is deactivated - Search for a record with an author in 100 in your catalog Example from sample data: Programming Perl / Tom Christiansen, Brian D. Foy & Larry Wall. - Add a child record using New > Add child record - Verify that in 773 $a and $t are filled in - Complete mandatory fields and save the record . In OPAC and staff interface: - Verify the link in the detail page is doing a search with ti,phr - Verify the link works/doesn't work (more likely the latter) - Apply patch - Verify the link has changed and (now) works -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 --- Comment #3 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Hmm, would it be possible to also get this added to the corresponding search which sets whether the 'Show analytics' link it visible or not (or depend on 11175 and update the search string method there?) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 --- Comment #4 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I'd love to DRY this search string out a bit honestly.. constructing it within the XSLT and also having an accessor for it in the Koha::Biblio objects isn't great practice.. perhaps we should pass it as an XSLT variable from the Biblio object and thus only have it built in one place.? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=11175 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #124061|0 |1 is obsolete| | --- Comment #5 from David Nind <david@davidnind.com> --- Created attachment 125990 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125990&action=edit Bug 20277: Improve 773 link when $a is present At the moment $t (Title) and $a (Main heading - author) are both searched in ti,phr, which sometimes may work, as ti contains the full 245 field, including $c with author information. But often $c will not match what is in 100$a, so the search fails. This splits the search string so we search for $t in with ti,phr and for $a in au. To test: - Make sure UseControlnumber is deactivated - Search for a record with an author in 100 in your catalog Example from sample data: Programming Perl / Tom Christiansen, Brian D. Foy & Larry Wall. - Add a child record using New > Add child record - Verify that in 773 $a and $t are filled in - Complete mandatory fields and save the record . In OPAC and staff interface: - Verify the link in the detail page is doing a search with ti,phr - Verify the link works/doesn't work (more likely the latter) - Apply patch - Verify the link has changed and (now) works Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #125990|0 |1 is obsolete| | --- Comment #6 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 126444 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126444&action=edit Bug 20277: Improve 773 link when $a is present At the moment $t (Title) and $a (Main heading - author) are both searched in ti,phr, which sometimes may work, as ti contains the full 245 field, including $c with author information. But often $c will not match what is in 100$a, so the search fails. This splits the search string so we search for $t in with ti,phr and for $a in au. To test: - Make sure UseControlnumber is deactivated - Search for a record with an author in 100 in your catalog Example from sample data: Programming Perl / Tom Christiansen, Brian D. Foy & Larry Wall. - Add a child record using New > Add child record - Verify that in 773 $a and $t are filled in - Complete mandatory fields and save the record . In OPAC and staff interface: - Verify the link in the detail page is doing a search with ti,phr - Verify the link works/doesn't work (more likely the latter) - Apply patch - Verify the link has changed and (now) works Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #7 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Passing QA.. this works well.. I read it backwards... whilst it would be nice to DRY this code out too.. it's not this particular query I was thinking about it was the reverse one for looking up component parts. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |21.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Pushed to master for 21.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |29268 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29268 [Bug 29268] Query used in Koha::Biblio->get_marc_host is incorrect -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|29268 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29268 [Bug 29268] Query used in Koha::Biblio->get_marc_host is incorrect -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com Status|Pushed to master |Pushed to stable Version(s)|21.11.00 |21.11.00,21.05.05 released in| | --- Comment #9 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to 21.05.x for 21.05.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Version(s)|21.11.00,21.05.05 |21.11.00,21.05.05,20.11.11 released in| | Status|Pushed to stable |Pushed to oldstable --- Comment #10 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to 20.11.x for 20.11.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20277 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |victor@tuxayo.net Resolution|--- |FIXED Status|Pushed to oldstable |RESOLVED --- Comment #11 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Not backported to oldoldstable (20.05.x). Feel free to ask if it's needed. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org