https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31801 --- Comment #12 from Jan Kissig <bibliothek@th-wildau.de> --- (In reply to Tomás Cohen Arazi from comment #11)
(In reply to Jan Kissig from comment #5)
To respect MARCOverlayRules the call of ModBiblio could be extended like this:
ModBiblio( $record, $biblionumber, $frameworkcode, { overlay_context => { source => 'API biblios' } } );
This is an interesting point. If we think we will eventually replace our current code with an API-driven UI, having an 'API biblios' record source doesn't feel useful.
That's why we are introducing the concept of configurable record sources on bug 32607. With that in mind, the record source will be undefined in case of regular cataloguing, or a specific one based on a header with an allow list of users that can impersonate the record source.
Once we have that, we can move the cataloguing sources in the MARC overlay rules pages into the record sources tables, and adapt the code so it is used from there.
source => 'API biblios' in my comment #5 was just something like a placeholder for me and I didn't find anything that suited for the API routes. But without overlay_context any MARC overlay rules will be checked. -- You are receiving this mail because: You are watching all bug changes.