[Bug 36370] New: Add ContentWarningField to UNIMARC XSLT
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Bug ID: 36370 Summary: Add ContentWarningField to UNIMARC XSLT Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Bug 31123 added new feature with preference ContentWarningField. Add this behavior to UNMARC XSLT files. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |31123 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31123 [Bug 31123] Add a simple way to add 'Harmful content warnings' to catalogue records -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |fridolin.somers@biblibre.co |ity.org |m -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 163554 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163554&action=edit Bug 36370: Add ContentWarningField to UNIMARC XSLT Bug 31123 added new feature with preference ContentWarningField. Add this behavior to UNMARC XSLT files. This patch adds new template 'tag_content_warning' in UNIMARCslimUtils.xsl called in results and details pages. New field is placed after 3xx. Test plan (in both interfaces OPAC and staff): 1) Create a new field 599 in framework 2) Set system preference ContentWarningField to 599 3) Edit a record to add a 599 with text in $a$b and an URL in $u 4) Perform a search to find this record => Check you see content_warning: <a href="$u">$a</a> $b 5) Click on details page => Check you see content_warning: <a href="$u">$a</a> $b -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 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=36370 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #163554|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 163764 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163764&action=edit Bug 36370: Add ContentWarningField to UNIMARC XSLT Bug 31123 added new feature with preference ContentWarningField. Add this behavior to UNMARC XSLT files. This patch adds new template 'tag_content_warning' in UNIMARCslimUtils.xsl called in results and details pages. New field is placed after 3xx. Test plan (in both interfaces OPAC and staff): 1) Create a new field 599 in framework 2) Set system preference ContentWarningField to 599 3) Edit a record to add a 599 with text in $a$b and an URL in $u 4) Perform a search to find this record => Check you see content_warning: <a href="$u">$a</a> $b 5) Click on details page => Check you see content_warning: <a href="$u">$a</a> $b 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=36370 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement enables release notes| |UNIMARC installations to | |pick a note field to use to | |store 'Content warnings' | |about bibliographic | |records, using the | |ContentWarningField system | |preference (added in Koha | |23.05 by bug 31123, but | |only for MARC21 | |installations). | | | |To use | |this feature, add a tag and | |subfields to your | |bibliographic framework(s), | |and update the | |ContentWarningField system | |preference with the tag to | |use. A 'Content warning:' | |label will then be | |displayed in the OPAC and | |staff interface, on both | |the detail and results | |pages. If a $u subfield | |for a URL is added, the $a | |subfield will use this as | |to create a clickable link. | |Other subfields will be | |displayed after the $a | |subfield. CC| |david@davidnind.com --- Comment #3 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. Change the .env for KTD so that MARCFLAVOR=unimarc, and then start up KTD as normal 2. Edit a record so that all the required subfields are completed, and edit the item so that it has valid values and can be viewed in the OPAC. 3. I added a new 599 tag and added subfields for $a, $b, and #u (I use Test $a, Test $b, and URL as the subfield display names). 4. I'm not sure what the recommend tag and subfields are for UNIMARC, so these will need to be added to the text for the release notes. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- 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=36370 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #163764|0 |1 is obsolete| | --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 166588 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166588&action=edit Bug 36370: Add ContentWarningField to UNIMARC XSLT Bug 31123 added new feature with preference ContentWarningField. Add this behavior to UNMARC XSLT files. This patch adds new template 'tag_content_warning' in UNIMARCslimUtils.xsl called in results and details pages. New field is placed after 3xx. Test plan (in both interfaces OPAC and staff): 1) Create a new field 599 in framework 2) Set system preference ContentWarningField to 599 3) Edit a record to add a 599 with text in $a$b and an URL in $u 4) Perform a search to find this record => Check you see content_warning: <a href="$u">$a</a> $b 5) Click on details page => Check you see content_warning: <a href="$u">$a</a> $b Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |24.05.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=36370 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #6 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Awesome, thanks for following up here with UNIMARC support Fridolin :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|24.05.00 |24.05.00,23.11.06 released in| | Status|Pushed to main |Pushed to stable --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Nice small enhancement, I choose to backport Pushed to 23.11.x for 23.11.06 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |Needs documenting CC| |lucas@bywatersolutions.com --- Comment #8 from Lucas Gass <lucas@bywatersolutions.com> --- Enhancement will not be included in 23.05.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #9 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I was looking at the manual to see if anything needed updating. The manual specifies that $x will not be displayed in the OPAC as it is considered an internal/non-public note. Is it the same for UNIMARC? https://koha-community.org/manual/latest/en/html/catalogingpreferences.html#... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36370 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|martin.renvoize@ptfs-europe | |.com | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org