[Bug 42159] New: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 Bug ID: 42159 Summary: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111 Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: januszop@gmail.com QA Contact: testopia@bugs.koha-community.org When the OPACAuthorIdentifiersAndInformation system preference is enabled, selected information about authors is displayed. However, if the main author is a corporate body or a meeting/conference (MARC 21 fields 110/111), the information is not shown. To reproduce: 1. Enable the display of identifiers in OPACAuthorIdentifiersAndInformation. 2. Add a 024 field with a VIAF ID to any corporate authority record, e.g.: 024 7# $a 1234 $2 viaf 3. Use this authority heading as the main entry (110 or 111) in any bibliographic record. 4. In the OPAC view of that bibliographic record, verify that the Author information tab does not display information from the main entry. 5. Use the same heading as an added entry (710 or 711). In the OPAC view, verify that the Author information tab now displays information from the added entry, but still not from the main entry. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Assignee|oleonard@myacpl.org |januszop@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 --- Comment #1 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 196123 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196123&action=edit Bug 42159: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111 When the OPACAuthorIdentifiersAndInformation system preference is enabled, selected information about authors is displayed. However, if the main author is a corporate body or a meeting/conference (MARC 21 fields 110/111), the information is not shown. Test plan: ========== 1. Enable the display of identifiers in OPACAuthorIdentifiersAndInformation. 2. Add a 024 field with a VIAF ID to any corporate authority record, e.g.: 024 7# $a 1234 $2 viaf 3. Use this authority heading as the main entry (110 or 111) in any bibliographic record. 4. In the OPAC view of that bibliographic record, verify that the Author information tab does not display information from the main entry. 5. Use the same heading as an added entry (710 or 711). In the OPAC view, verify that the Author information tab now displays information from the added entry, but still not from the main entry. 6. Apply the patch ; restart_all. 7. Verify that OPAC now displays information from the 110/111 heading fields in the bibliographic record. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 --- Comment #2 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 196132 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196132&action=edit Bug 42159: Unit tests Patch from commit 81a99f8 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- 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=42159 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196132|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=42159 --- Comment #3 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 196133 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196133&action=edit Bug 42159: Unit tests Unit tests -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 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=42159 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196123|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=42159 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196133|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=42159 --- Comment #4 from David Nind <david@davidnind.com> --- Created attachment 197756 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197756&action=edit Bug 42159: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111 When the OPACAuthorIdentifiersAndInformation system preference is enabled, selected information about authors is displayed. However, if the main author is a corporate body or a meeting/conference (MARC 21 fields 110/111), the information is not shown. Test plan: ========== 1. Enable the display of identifiers in OPACAuthorIdentifiersAndInformation. 2. Add a 024 field with a VIAF ID to any corporate authority record, e.g.: 024 7# $a 1234 $2 viaf 3. Use this authority heading as the main entry (110 or 111) in any bibliographic record. 4. In the OPAC view of that bibliographic record, verify that the Author information tab does not display information from the main entry. 5. Use the same heading as an added entry (710 or 711). In the OPAC view, verify that the Author information tab now displays information from the added entry, but still not from the main entry. 6. Apply the patch ; restart_all. 7. Verify that OPAC now displays information from the 110/111 heading fields in the bibliographic record. 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=42159 --- Comment #5 from David Nind <david@davidnind.com> --- Created attachment 197757 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197757&action=edit Bug 42159: Unit tests Unit tests 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=42159 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Text to go in the| |This fixes the "Author release notes| |information" tab in the | |OPAC details page so that | |it now shows information | |from authority records | |where: | |- the authority record 024 | |has identifier data, and | |- the identifiers option is | |selected for the | |OPACAuthorIdentifiersAndInf | |ormation system preference. | | | |The "Author information" | |tab now shows the authority | |record information where it | |is used in a bibliographic | |record's 110 (Corporate | |name) and 111 (Meeting | |name). --- Comment #6 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. Note for those not familiar with it, the "Author information" tab appears after the Holdings, Title notes, and Comments "tabs" (after the star rating section) on the OPAC record details page. 2. What I did: - Authority ID (Corporate name) = 439 (LMCP Films (Firm)): added information to the 024 $2 = viaf $a = 1234 - Authority ID (Meeting name) = 155 (Beagle Expedition): added information to the 024 $2 = wikidata $a = Q1564366 - Bibliographic record = 132 (Darwin in Galapagos): added information as follows . 111: linked to Beagle Expedition, so 111$a = Beagle Expedition, 111$d = (1831-1836), 111$9 = 155 . 710: linked to LMCP Films (Firm), so 710$a = LMCP Films (Firm), 710$9 = 439 3. Before the patch, the "Author information" tab only shows the details for the 710: LMCP Films (Firm) - VIAF ID: 1234 4. After the patch (with a restart_all), the "Author information" tab now shows the details for both the 111 and the 710: Beagle Expedition - WIKIDATA ID: Q1564366 LMCP Films (Firm) - VIAF ID: 1234 5. Tests pass: prove t/db_dependent/Koha/Biblio.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 --- Comment #7 from David Nind <david@davidnind.com> --- Created attachment 197758 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197758&action=edit Screenshot showing example of what should be shown This screenshot shows what the "Author information" should look like after the patches are applied (from the example I used in comment #7). Before the patches, only the 710/711 data was shown (LMCP Films (Firm)). After the patches, both the 110/111 and 710/711 data are now shown. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA 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=42159 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #197756|0 |1 is obsolete| | Attachment #197757|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=42159 --- Comment #8 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 200761 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200761&action=edit Bug 42159: With OPACAuthorIdentifiersAndInformation information lacking from field 110/111 When the OPACAuthorIdentifiersAndInformation system preference is enabled, selected information about authors is displayed. However, if the main author is a corporate body or a meeting/conference (MARC 21 fields 110/111), the information is not shown. Test plan: ========== 1. Enable the display of identifiers in OPACAuthorIdentifiersAndInformation. 2. Add a 024 field with a VIAF ID to any corporate authority record, e.g.: 024 7# $a 1234 $2 viaf 3. Use this authority heading as the main entry (110 or 111) in any bibliographic record. 4. In the OPAC view of that bibliographic record, verify that the Author information tab does not display information from the main entry. 5. Use the same heading as an added entry (710 or 711). In the OPAC view, verify that the Author information tab now displays information from the added entry, but still not from the main entry. 6. Apply the patch ; restart_all. 7. Verify that OPAC now displays information from the 110/111 heading fields in the bibliographic record. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 --- Comment #9 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 200762 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200762&action=edit Bug 42159: Unit tests Unit tests Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42159 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.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=42159 --- Comment #10 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