[Bug 42172] New: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Bug ID: 42172 Summary: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: januszop@gmail.com QA Contact: testopia@bugs.koha-community.org With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author's name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |januszop@gmail.com Patch complexity|--- |Trivial 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=42172 --- Comment #1 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 196106 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196106&action=edit Bug 42172: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author’s name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. The complete heading should be displayed. Test plan: ========== 1. In a standard KTD installation, add the following field to authority record #271 (110 2 $a Ireland. $b Dept. of Arts, Culture, and the Gaeltacht.): 024 7# $a 130344669 $2 viaf 2. In OPACAuthorIdentifiersAndInformation, enable at least Identifiers (024$2$a). 3. In the OPAC, locate bibliographic record #153 (Ag neartú chosaint don oidhreacht ailtireachta). Note that in the 'Author information' tab, only 'Ireland' is displayed instead of the full name ('Ireland. Dept. of Arts, Culture, and the Gaeltacht.'). 4. Apply the patch ; restart_all. 5. Check again in the OPAC that the full corporate name is now displayed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196106|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #2 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 196108 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196108&action=edit Bug 42172: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author’s name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. The complete heading should be displayed. Test plan: ========== 1. In a standard KTD installation, add the following field to authority record #271 (110 2 $a Ireland. $b Dept. of Arts, Culture, and the Gaeltacht.): 024 7# $a 130344669 $2 viaf 2. In OPACAuthorIdentifiersAndInformation, enable at least Identifiers (024$2$a). 3. In the OPAC, locate bibliographic record #153 (Ag neartú chosaint don oidhreacht ailtireachta). Note that in the 'Author information' tab, only 'Ireland' is displayed instead of the full name ('Ireland. Dept. of Arts, Culture, and the Gaeltacht.'). 4. Apply the patch ; restart_all. 5. Check again in the OPAC that the full corporate name is now displayed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196108|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #3 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 196122 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196122&action=edit Bug 42172: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author’s name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. The complete heading should be displayed. Test plan: ========== 1. In a standard KTD installation, add the following field to authority record #271 (110 2 $a Ireland. $b Dept. of Arts, Culture, and the Gaeltacht.): 024 7# $a 130344669 $2 viaf 2. In OPACAuthorIdentifiersAndInformation, enable at least Identifiers (024$2$a). 3. In the OPAC, locate bibliographic record #153 (Ag neartú chosaint don oidhreacht ailtireachta). Note that in the 'Author information' tab, only 'Ireland' is displayed instead of the full name ('Ireland. Dept. of Arts, Culture, and the Gaeltacht.'). 4. Apply the patch ; restart_all. 5. Check again in the OPAC that the full corporate name is now displayed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Roman Dolny <roman.dolny@jezuici.pl> 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=42172 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196122|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #4 from Roman Dolny <roman.dolny@jezuici.pl> --- Created attachment 196733 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196733&action=edit Bug 42172: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author’s name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. The complete heading should be displayed. Test plan: ========== 1. In a standard KTD installation, add the following field to authority record #271 (110 2 $a Ireland. $b Dept. of Arts, Culture, and the Gaeltacht.): 024 7# $a 130344669 $2 viaf 2. In OPACAuthorIdentifiersAndInformation, enable at least Identifiers (024$2$a). 3. In the OPAC, locate bibliographic record #153 (Ag neartú chosaint don oidhreacht ailtireachta). Note that in the 'Author information' tab, only 'Ireland' is displayed instead of the full name ('Ireland. Dept. of Arts, Culture, and the Gaeltacht.'). 4. Apply the patch ; restart_all. 5. Check again in the OPAC that the full corporate name is now displayed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=42721 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Needs Signoff CC| |jonathan.druart@gmail.com --- Comment #5 from Jonathan Druart <jonathan.druart@gmail.com> --- Patch does not have a signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 John Vinke <jvinke@austinseminary.edu> 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=42172 John Vinke <jvinke@austinseminary.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196733|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #6 from John Vinke <jvinke@austinseminary.edu> --- Created attachment 203812 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203812&action=edit Bug 42172: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author’s name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. The complete heading should be displayed. Test plan: ========== 1. In a standard KTD installation, add the following field to authority record #271 (110 2 $a Ireland. $b Dept. of Arts, Culture, and the Gaeltacht.): 024 7# $a 130344669 $2 viaf 2. In OPACAuthorIdentifiersAndInformation, enable at least Identifiers (024$2$a). 3. In the OPAC, locate bibliographic record #153 (Ag neartú chosaint don oidhreacht ailtireachta). Note that in the 'Author information' tab, only 'Ireland' is displayed instead of the full name ('Ireland. Dept. of Arts, Culture, and the Gaeltacht.'). 4. Apply the patch ; restart_all. 5. Check again in the OPAC that the full corporate name is now displayed. Signed-off-by: John Vinke <jvinke@austinseminary.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m QA Contact|testopia@bugs.koha-communit |david@davidnind.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|david@davidnind.com |testopia@bugs.koha-communit | |y.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |paul.derscheid@lmscloud.de |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|paul.derscheid@lmscloud.de |jonathan.druart@gmail.com Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203812|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #7 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 212494 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212494&action=edit Bug 42172: With OPACAuthorIdentifiersAndInformation show whole heading, not only $a With the OPACAuthorIdentifiersAndInformation option enabled, selected information about authors is displayed, provided it present in the author's authority record. However, the author’s name is limited to subfield $a, which is insufficient--especially in the case of corporate names containing a subordinate unit in $b or in the case of meeting names. The complete heading should be displayed. Test plan: ========== 1. In a standard KTD installation, add the following field to authority record #271 (110 2 $a Ireland. $b Dept. of Arts, Culture, and the Gaeltacht.): 024 7# $a 130344669 $2 viaf 2. In OPACAuthorIdentifiersAndInformation, enable at least Identifiers (024$2$a). 3. In the OPAC, locate bibliographic record #153 (Ag neartú chosaint don oidhreacht ailtireachta). Note that in the 'Author information' tab, only 'Ireland' is displayed instead of the full name ('Ireland. Dept. of Arts, Culture, and the Gaeltacht.'). 4. Apply the patch ; restart_all. 5. Check again in the OPAC that the full corporate name is now displayed. Signed-off-by: John Vinke <jvinke@austinseminary.edu> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #8 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 212495 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212495&action=edit Bug 42172: (follow-up) Do not crash if heading_object returns an empty hash Koha::Authority->heading_object returns an empty hashref if authtypecode is set to a non-existing authority type: Can't call method "display_form" on unblessed reference The unless test was not correct. Test plan:
update auth_header set authtypecode="NOPE" where authid=271;
Then reload /cgi-bin/koha/opac-detail.pl?biblionumber=153 We should/could adjust Koha::Authority->heading_object, but that's for somewhere else... Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.11.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42172 --- Comment #9 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org