[Koha-bugs] [Bug 19822] Add system preferences for ILL Module

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 18:47:10 CET 2023


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

--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Pedro Amorim from comment #7)
> Katrin, please note the below comments and let me know if you agree.
> 
> Should be a sys pref:
> 
> partner_code:
> - Only used by generic_confirm in Koha/Illrequest.pm;
> - Requires backend to have GENREQ request status to have "Place request with
> partners" button available and show the UI screen that uses partner_code;
> - Requires patron of <partner_code> category to have a primary email else
> it's not listed in the partners list;
> - Sys pref would maintain current default ILLLIBS value;
> - @Katrin should we have a separate bug to update sample_patron.yml and
> patron_categories.yml in the sample data's patron category from IL to
> ILLLIBS?

There already is a separate one: bug 21548, but I'd actually standardize by
changing ILLLIBS to IL. The sample data has been used like this forever, the
ILL never matching was an early oversight in my opinion. 

I wonder how we could add a good general description to the system preference -
might have to include some technical information too. Or we'd just make it the
common spot to define your ILL patron category.

> staff_request_comments and reply_date:
> - Are both 'censorship' flags handled in load_configuration in
> Illrequest/Config.pm
> - Unfortunately these are strings and code is checking if they match 'hide'.
> Converting these into sys pref, they should be renamed to
> hide_staff_request_comments and hide_reply_date and be boolean.

+1

I'd have said 'display' maybe?

> digital_recipient:
> - Either 'borrower' or 'branch'. Illrequest/Config.pm has a getter for this
> but it's only used by backends as far as I can tell.
> - As a sys pref, would be a dropdown with both values.
> 
> 
> Should stay in config:
> 
> backend_directory;
> 
> branch:
> - A check is made for if <branch> element exists in koha-conf.xml;
> - The <branch> block is repeatable.

How and what is this used for? I think 'our' backend doesn't use it at all.
Does it need to remain mandatory? I think having to add a valid branchcode
complicates standardized setups unnecessarily.

> branch/code and branch/prefix:
> - I believe these are only to be used in tandem with each other, to
> possibilitate different request ID prefixes for different branches;

Just a thought: maybe we could move to a YAML style pref?

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


More information about the Koha-bugs mailing list