[Bug 40192] New: Add additional fields to ERM titles
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Bug ID: 40192 Summary: Add additional fields to ERM titles Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: ERM Assignee: jonathan.druart@gmail.com Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: clemens.tubach@kit.edu, jonathan.druart@gmail.com, jonathan.field@openfifth.co.uk, martin.renvoize@openfifth.co.uk, matt.blenkinsop@openfifth.co.uk, michaela.sieber@kit.edu, pedro.amorim@openfifth.co.uk Blocks: 38911 It would be great if there was an option to add additional fields to ERM titles. One use case would be adding mappings for KBART files as suggested by bug 38911. KBART files from GoKB and other knowledge bases use the COUNTER "feature" of providing additional information and important identifiers as additional columns in KBART. Storing them in Koha would be very beneficial. But additional fields could also be used for a lot of others useful things. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38911 [Bug 38911] Map optional KBART columns to additional fields in ERM titles -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 --- Comment #1 from Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> --- Created attachment 188211 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188211&action=edit Bug 40192: Add additional fields to ERM titles -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> 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=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.auld@openfifth.co.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jonathan.druart@gmail.com |matt.blenkinsop@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Michaela Sieber <michaela.sieber@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #2 from Michaela Sieber <michaela.sieber@kit.edu> --- does not work, neither in sandboxes, nor in ktd -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41063 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41063 [Bug 41063] Additional fields are broken in Vue -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |38262 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38262 [Bug 38262] Add additional fields to Vendors -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40191 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40191 [Bug 40191] Design pattern: Redirect user to a view of the record after saving instead of list -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|41063 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41063 [Bug 41063] Additional fields are broken in Vue -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |39438 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39438 [Bug 39438] Add additional fields to agreements periods -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188211|0 |1 is obsolete| | --- Comment #3 from Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> --- Created attachment 188371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188371&action=edit Bug 40192: Add additional fields to ERM titles -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188371|0 |1 is obsolete| | --- Comment #4 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 188374 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188374&action=edit Bug 40192: Add additional fields to ERM titles Signed-off-by: Michaela <michaela.sieber@kit.edu> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Michaela Sieber <michaela.sieber@kit.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=40192 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188374|0 |1 is obsolete| | --- Comment #5 from Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> --- Created attachment 188378 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188378&action=edit Bug 40192: Add additional fields to ERM titles -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 --- Comment #6 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 188777 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188777&action=edit Bug 40192: Add additional fields support to ERM titles This patch extends the additional fields framework to ERM e-holdings titles, allowing libraries to configure custom metadata fields for managing electronic resources. Implementation details: - Extended Koha::ERM::EHoldings::Title and ::Titles with AdditionalFields mixin for object-level support - Added 'erm_titles' table mapping to AdditionalField.pm for API serialization - Updated OpenAPI schema definitions to include extended_attributes in erm_eholdings_title.yaml and expose extended_attribute_types endpoint - Enhanced REST API controller to handle additional fields in title creation/updates - Updated admin interface to allow configuring additional fields for the 'title' table name - Modified Vue.js EHoldingsLocalTitleResource component to display and manage custom fields This enables institutions to track custom metadata (e.g., license details, administrative notes, local identifiers) alongside standard ERM title information. Test plan: 1. Configure additional fields: - Go to Administration > Additional fields - Click "New field" and select table name "title" - Create a text field: Name="License notes", Searchable=Yes - Create an authorized value field: Name="Access level", AV category=LOC (or any available category) - Save both fields 2. Test with local ERM titles: - Navigate to E-resource management > Local titles - Create a new local title or edit an existing one - Verify the "Additional fields" section appears with your configured fields - Fill in "License notes" with test text - Select a value for "Access level" - Save the title 3. Verify persistence: - Reopen the title you just edited - Confirm both additional field values are displayed correctly - Edit one field value and save - Confirm the update persists Signed-off-by: Michaela <michaela.sieber@kit.edu> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188378|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=40192 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188777|0 |1 is obsolete| | --- Comment #7 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 189019 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189019&action=edit Bug 40192: Add additional fields support to ERM titles This patch extends the additional fields framework to ERM e-holdings titles, allowing libraries to configure custom metadata fields for managing electronic resources. Implementation details: - Extended Koha::ERM::EHoldings::Title and ::Titles with AdditionalFields mixin for object-level support - Added 'erm_titles' table mapping to AdditionalField.pm for API serialization - Updated OpenAPI schema definitions to include extended_attributes in erm_eholdings_title.yaml and expose extended_attribute_types endpoint - Enhanced REST API controller to handle additional fields in title creation/updates - Updated admin interface to allow configuring additional fields for the 'title' table name - Modified Vue.js EHoldingsLocalTitleResource component to display and manage custom fields This enables institutions to track custom metadata (e.g., license details, administrative notes, local identifiers) alongside standard ERM title information. Test plan: 1. Configure additional fields: - Go to Administration > Additional fields - Click "New field" and select table name "title" - Create a text field: Name="License notes", Searchable=Yes - Create an authorized value field: Name="Access level", AV category=LOC (or any available category) - Save both fields 2. Test with local ERM titles: - Navigate to E-resource management > Local titles - Create a new local title or edit an existing one - Verify the "Additional fields" section appears with your configured fields - Fill in "License notes" with test text - Select a value for "Access level" - Save the title 3. Verify persistence: - Reopen the title you just edited - Confirm both additional field values are displayed correctly - Edit one field value and save - Confirm the update persists Signed-off-by: Michaela <michaela.sieber@kit.edu> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 --- Comment #8 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 189020 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189020&action=edit Bug 40192: (bug 38446 follow-up) Add title to /erm/extended_attribute_types Sponsored-by: Karlsruhe Institute of Technology (KIT) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rel_26_05_candidate CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Sponsorship status|--- |Sponsored Comma delimited| |Karlsruhe Institute of list of Sponsors| |Technology (KIT) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189020|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=40192 --- Comment #9 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 191853 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191853&action=edit Bug 40192: (bug 38446 follow-up) Add title to /erm/extended_attribute_types Sponsored-by: Karlsruhe Institute of Technology (KIT) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Passed QA --- Comment #10 from Jonathan Druart <jonathan.druart@gmail.com> --- Last patch rebased. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.05.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=40192 --- Comment #11 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_26_05_candidate |release-notes-needed --- Comment #12 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- please add release notes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |additional_work_needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 --- Comment #13 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 191890 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191890&action=edit Bug 40192: (follow-up) Adjust api/v1/extended_attribute_types.t test -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|additional_work_needed | --- Comment #14 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- follow-up push to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Michaela Sieber <michaela.sieber@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This adds the option to add release notes| |additional fields to ERM | |titles. The fields can be | |either free text or linked | |to an authorized value for | |a pull down list. They can | |be set to repeatable and | |made searchable. Keywords|release-notes-needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40192 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting --- Comment #15 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- This bug won't be backported to the 25.11.x branch as it has been deemed an enhancement or new feature. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org