[Koha-bugs] [Bug 25460] New: Update OAI set (and optionally embed item information) when adding/editing/deleting items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 12 04:41:23 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25460

            Bug ID: 25460
           Summary: Update OAI set (and optionally embed item information)
                    when adding/editing/deleting items
 Change sponsored?: Sponsored
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: alexbuckley at catalyst.net.nz
          Reporter: alexbuckley at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org

Currently the if you have a OAI set with mappings containing 952 subfields then
when library staff add/edit/delete items the OAI set is not updated. 

OAI sets are only updated if:

* OAI-PMH:AutoUpdateSets syspref is enabled & biblio record is
added/edited/deleted

This is because C4::OAI::Sets->UpdateOAISetsBiblio() is called from 
C4::Biblio->AddBiblio() or C4::Biblio->ModBiblio() neither of which are
executed on adding/editing/deleting items. 

This patch will call C4::OAI::Sets->UpdateOAISetsBiblio() when
adding/editing/deleting items as well as biblios if OAI-PMH:AutoUpdateSets
syspref is enabled.

It will also allow library staff to define if they want item information
embedded in these automatic updates. i.e. they have mappings on 952 field and
want those subfields to be checked when adding/editing/deleting items.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list