[Koha-bugs] [Bug 31801] REST API: PUT endpoint for Biblios
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 8 19:46:29 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31801
--- Comment #12 from Jan Kissig <bibliothek at 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.
More information about the Koha-bugs
mailing list