diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 1c6ed74cf2..69a03253d5 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -159,6 +159,7 @@ $tabsysprefs{AllowHoldsOnDamagedItems} = "Circulation"; $tabsysprefs{UseBranchTransferLimits} = "Circulation"; $tabsysprefs{AllowHoldPolicyOverride} = "Circulation"; $tabsysprefs{BranchTransferLimitsType} = "Circulation"; +$tabsysprefs{AllowNotForLoanOverride} = "Circulation"; # Staff Client $tabsysprefs{TemplateEncoding} = "StaffClient"; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 70d55544c5..56fcf2fee5 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -2389,7 +2389,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } -$DBversion = "3.01.00.015"; +$DBversion = "3.01.00.030"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'AllowNotForLoanOverride', '0', '', 'If ON, Koha will allow the librarian to loan a not for loan item.', 'YesNo')"); print "Upgrade to $DBversion done (added AllowNotForLoanOverride system preference)\n"; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl index 4b0b5dfc0a..48c8cb63ac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -110,6 +110,10 @@ $.tablesorter.addParser({