View | Details | Raw Unified | Return to bug 10300
Collapse All | Expand All

(-)a/circ/branchtransfers.pl (-1 / +1 lines)
Lines 236-242 $template->param( Link Here
236
    cancelled               => $cancelled,
236
    cancelled               => $cancelled,
237
    setwaiting              => $setwaiting,
237
    setwaiting              => $setwaiting,
238
    trsfitemloop            => \@trsfitemloop,
238
    trsfitemloop            => \@trsfitemloop,
239
    branchoptionloop        => GetBranchesLoop($tobranchcd),
239
    branchoptionloop        => GetBranchesLoop($tobranchcd, C4::Context->IsSuperLibrarian() ? 0 : C4::Context->preference("IndependentBranchesTransfers") ),
240
    errmsgloop              => \@errmsgloop,
240
    errmsgloop              => \@errmsgloop,
241
    CircAutocompl           => C4::Context->preference("CircAutocompl")
241
    CircAutocompl           => C4::Context->preference("CircAutocompl")
242
);
242
);
(-)a/circ/circulation-home.pl (-1 / +1 lines)
Lines 40-46 my $fa = getframeworkinfo('FA'); Link Here
40
$template->param( fast_cataloging => 1 ) if (defined $fa);
40
$template->param( fast_cataloging => 1 ) if (defined $fa);
41
41
42
# Checking if the transfer page needs to be displayed
42
# Checking if the transfer page needs to be displayed
43
$template->param( display_transfer => 1 ) if ( ($flags->{'superlibrarian'} == 1) || (C4::Context->preference("IndependentBranches") == 0) );
43
$template->param( display_transfer => 1 ) if ( $flags->{'superlibrarian'} == 1 || C4::Context->preference("IndependentBranchesTransfers") == 0  );
44
$template->{'VARS'}->{'AllowOfflineCirculation'} = C4::Context->preference('AllowOfflineCirculation');
44
$template->{'VARS'}->{'AllowOfflineCirculation'} = C4::Context->preference('AllowOfflineCirculation');
45
45
46
46
(-)a/installer/data/mysql/atomicupdate/bug_10300.sql (+3 lines)
Line 0 Link Here
1
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
2
SELECT 'IndependentBranchesTransfers', value, NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'
3
FROM systempreferences WHERE variable = 'IndependentBranches';
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 185-190 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
185
('IncludeSeeFromInSearches','0','','Include see-from references in searches.','YesNo'),
185
('IncludeSeeFromInSearches','0','','Include see-from references in searches.','YesNo'),
186
('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'),
186
('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'),
187
('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'),
187
('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'),
188
('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'),
188
('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'),
189
('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'),
189
('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'),
190
('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'),
190
('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'),
191
('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +7 lines)
Lines 115-120 Administration: Link Here
115
                  yes: Prevent
115
                  yes: Prevent
116
                  no: "Don't prevent"
116
                  no: "Don't prevent"
117
            - staff (but not superlibrarians) from viewing and approving/denying patron modification requests for patrons belonging to other libraries.
117
            - staff (but not superlibrarians) from viewing and approving/denying patron modification requests for patrons belonging to other libraries.
118
        -
119
            - pref: IndependentBranchesTransfers
120
              default: 0
121
              choices:
122
                  yes: Prevent
123
                  no: "Don't prevent"
124
            - staff (but not superlibrarians) transfering items to other libraries.
118
    CAS authentication:
125
    CAS authentication:
119
        -
126
        -
120
            - pref: casAuthentication
127
            - pref: casAuthentication
121
- 

Return to bug 10300