Bug 39695

Summary: Allow framework customization with CirculateILL
Product: Koha Reporter: hebah
Component: ILLAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lisette, pedro.amorim, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description hebah 2025-04-21 20:21:59 UTC
The Koha manual notes that "When you create a Book type request a brief catalog record is created automatically based on the Fast Add MARC framework."

Some libraries that use Fast Add frameworks in their cataloging/circ workflows might like to use a different framework with specific ILL-preset values.
Comment 1 Pedro Amorim 2025-04-22 08:35:29 UTC
Hi, I believe there is a way to change the default framework of biblios that are created from 'book' ILL requests, even though it's not well known/documented:
If you add <framework>CODE</framework> under <interlibrary_loans> in koha-conf.xml, it will use that instead, example (let's say the framework's code is 'ILL'):

<interlibrary_loans>
    ...
    <framework>ILL</framework>
</interlibrary_loans>
Comment 2 Katrin Fischer 2025-04-22 12:27:32 UTC
If that works, please don't close the bug as it should be added to the manual. Even better if we could move it to a system preference later.
Comment 3 hebah 2025-04-22 13:09:18 UTC
This is all good to know for the libraries we support. Better still if it is in a place more librarians are empowered to make the change themselves :).
Comment 4 Tomás Cohen Arazi (tcohen) 2025-04-22 14:26:41 UTC
This should be backend-defined. i.e. something like `$framework = $req->_backend()->get_framework( $req );`
Comment 5 Katrin Fischer 2025-04-22 14:27:58 UTC
We have this setting for "our" backend, but I think a general setting in system preference that can be overwritten by backend configuration could also make sense.
Comment 6 Lisette Scheer 2025-05-01 20:23:24 UTC
(In reply to Katrin Fischer from comment #5)
> We have this setting for "our" backend, but I think a general setting in
> system preference that can be overwritten by backend configuration could
> also make sense.

Yes, having the ability to set it for the standard backend/as a fallback if not defined in another backend would be good.