Bugzilla – Attachment 88661 Details for
Bug 10300
Allow transferring of items to be have separate IndependentBranches syspref
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10300: Allow transferring of items to be have separate IndependentBranches syspref
Bug-10300-Allow-transferring-of-items-to-be-have-s.patch (text/plain), 3.44 KB, created by
Josef Moravec
on 2019-04-24 21:57:02 UTC
(
hide
)
Description:
Bug 10300: Allow transferring of items to be have separate IndependentBranches syspref
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-04-24 21:57:02 UTC
Size:
3.44 KB
patch
obsolete
>From 2ff42c7057a2d1709c8a19bac9ec898ed12bec83 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 25 Aug 2016 14:03:31 +0000 >Subject: [PATCH] Bug 10300: Allow transferring of items to be have separate > IndependentBranches syspref > >Some libraries want to have IndependentBranches enabled, but still be >able to transfer items between themselves. > >Test Plan: >1) Apply this patch >2) Run updatedatabase.pl >3) Enable IndpendentBranches and IndependentBranchesTransfers >4) Log in as a super librarian >5) Note you can transfer items >6) Log in as a non-super librarian >7) Note you cannot transfer items >8) Disable IndependentBranchesTransfers >9) Note you can now transfer items > >Signed-off-by: Maribeth Shafer <mshafer@ckls.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > installer/data/mysql/atomicupdate/bug_10300.sql | 3 +++ > installer/data/mysql/sysprefs.sql | 1 + > .../intranet-tmpl/prog/en/modules/admin/preferences/admin.pref | 7 +++++++ > 3 files changed, 11 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_10300.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_10300.sql b/installer/data/mysql/atomicupdate/bug_10300.sql >new file mode 100644 >index 0000000..1bcf5d9 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_10300.sql >@@ -0,0 +1,3 @@ >+INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) >+SELECT 'IndependentBranchesTransfers', value, NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo' >+FROM systempreferences WHERE variable = 'IndependentBranches'; >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 35c9ff0..cc52541 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -228,6 +228,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('IncludeSeeFromInSearches','0','','Include see-from references in searches.','YesNo'), > ('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'), > ('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'), >+('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'), > ('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'), > ('RecordedBooksClientSecret','','30','Client key for RecordedBooks integration','YesNo'), > ('RecordedBooksDomain','','','RecordedBooks domain','Free'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >index 464c8c8..32645ab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >@@ -111,6 +111,13 @@ Administration: > choices: > yes: "Yes" > no: "No" >+ - >+ - Prevent staff (but not superlibrarians) from transfering items to other libraries >+ - pref: IndependentBranchesTransfers >+ default: 0 >+ choices: >+ yes: "Yes" >+ no: "No" > CAS authentication: > - > - "Use CAS for login authentication: " >-- >2.1.4
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 10300
:
18272
|
54880
|
54939
|
85880
|
85881
|
86521
|
86522
| 88661 |
88662
|
88663