Bugzilla – Attachment 146000 Details for
Bug 32546
Move ILL system preferences to their own tab in administration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32546: Move ILL system preferences into their own tab in administration
Bug-32546-Move-ILL-system-preferences-into-their-o.patch (text/plain), 7.75 KB, created by
Martin Renvoize (ashimema)
on 2023-02-02 13:40:01 UTC
(
hide
)
Description:
Bug 32546: Move ILL system preferences into their own tab in administration
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-02-02 13:40:01 UTC
Size:
7.75 KB
patch
obsolete
>From b82541c6057e4b3f8dc1c0d23a3e7f357b4f2039 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer@bsz-bw.de> >Date: Fri, 20 Jan 2023 14:12:22 +0000 >Subject: [PATCH] Bug 32546: Move ILL system preferences into their own tab in > administration > >Without this patch the interlibrary loan related system preferences >appeared on the circulation tab, that is already quite long. As ILL >is a complete module, it deserves its own tab. > >To test: >* Search for interlibrary loan related preferences in Admin, verify their number > and location >* Apply patch >* Verfiy all the previously found preferences now appear on their own tab: > Interlibrary loans > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../prog/en/includes/prefs-menu.inc | 10 ++++ > .../admin/preferences/circulation.pref | 53 ------------------ > .../admin/preferences/interlibrary_loans.pref | 56 +++++++++++++++++++ > 3 files changed, 66 insertions(+), 53 deletions(-) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc >index 8be1e6243cc..d59de66cf61 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc >@@ -89,6 +89,16 @@ > [% END %] > </li> > >+ [% IF ( interlibrary_loans ) %] >+ <li class="active"> >+ <a title="Interlibrary loans" href="/cgi-bin/koha/admin/preferences.pl?tab=interlibrary_loans">Interlibrary loans</a> >+ [% PROCESS subtabs %] >+ [% ELSE %] >+ <li> >+ <a title="Interlibrary loans" href="/cgi-bin/koha/admin/preferences.pl?tab=interlibrary_loans">Interlibrary loans</a> >+ [% END %] >+ </li> >+ > [% IF ( local_use ) %] > <li class="active"> > <a href="/cgi-bin/koha/admin/systempreferences.pl">Local use</a> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index e025fc6e9d0..5379aa057b8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >@@ -1006,59 +1006,6 @@ Circulation: > 1: block > 0: allow > - renewing of items from the staff interface and via the <code>misc/cronjobs/automatic_renewals.pl</code> cronjob. >- Interlibrary loans: >- - >- - pref: ILLModule >- default: 0 >- choices: >- 1: Enable >- 0: Disable >- - the interlibrary loans module (master switch). >- - >- - "Adding text will enable the copyright clearance stage in request creation. The text you enter will be the text displayed." >- - pref: ILLModuleCopyrightClearance >- type: textarea >- class: long >- - >- - "Enabled ILL backends for OPAC initiated requests:" >- - pref: ILLOpacbackends >- class: multi >- - (separated with |). If left empty, all installed backends will be enabled. >- - >- - pref: ILLModuleUnmediated >- default: 0 >- choices: >- 1: Enable >- 0: Disable >- - unmediated interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend. >- - >- - pref: CirculateILL >- default: 0 >- choices: >- 1: Enable >- 0: Disable >- - the circulation of ILL requested items. >- - >- - pref: ILLCheckAvailability >- default: 0 >- choices: >- 1: Check >- 0: "Don't check" >- - external sources for availability during the request process. >- - >- - "ILL statuses that are considered finished and should not be displayed in the ILL module: " >- - pref: ILLHiddenRequestStatuses >- class: multi >- - (separated with |). If left empty, all ILL requests will be displayed. The request codes can be found in the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=ILLSTATUS">ILLSTATUS</a> authorized value category. >- - >- - "Send these ILL notices to staff when appropriate:" >- - pref: ILLSendStaffNotices >- class: multi >- - "(separated with |). e.g. ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED If left empty, no staff ILL notices will be sent." >- - >- - "Fallback email address for staff ILL notices to be sent to in the absence of a library address:" >- - pref: ILLDefaultStaffEmail >- class: email > Fines Policy: > - > - pref: finesCalendar >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref >new file mode 100644 >index 00000000000..1b650890394 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref >@@ -0,0 +1,56 @@ >+Interlibrary loans: >+ Features: >+ - >+ - pref: ILLModule >+ default: 0 >+ choices: >+ 1: Enable >+ 0: Disable >+ - the interlibrary loans module (master switch). >+ - >+ - "Adding text will enable the copyright clearance stage in request creation. The text you enter will be the text displayed." >+ - pref: ILLModuleCopyrightClearance >+ type: textarea >+ class: long >+ - >+ - pref: ILLModuleUnmediated >+ default: 0 >+ choices: >+ 1: Enable >+ 0: Disable >+ - unmediated interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend. >+ - >+ - pref: CirculateILL >+ default: 0 >+ choices: >+ 1: Enable >+ 0: Disable >+ - the circulation of ILL requested items. >+ - >+ - pref: ILLCheckAvailability >+ default: 0 >+ choices: >+ 1: Check >+ 0: "Don't check" >+ - external sources for availability during the request process. >+ - >+ - "ILL statuses that are considered finished and should not be displayed in the ILL module: " >+ - pref: ILLHiddenRequestStatuses >+ class: multi >+ - (separated with |). If left empty, all ILL requests will be displayed. The request codes can be found in the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=ILLSTATUS">ILLSTATUS</a> authorized value category. >+ Notifications: >+ - >+ - "Send these ILL notices to staff when appropriate:" >+ - pref: ILLSendStaffNotices >+ class: multi >+ - "(separated with |). e.g. ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED If left empty, no staff ILL notices will be sent." >+ - >+ - "Fallback email address for staff ILL notices to be sent to in the absence of a library address:" >+ - pref: ILLDefaultStaffEmail >+ class: email >+ OPAC: >+ - >+ - "Enabled ILL backends for OPAC initiated requests:" >+ - pref: ILLOpacbackends >+ class: multi >+ - (separated with |). If left empty, all installed backends will be enabled. >-- >2.39.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32546
:
145514
|
145545
| 146000