diff --git a/circ/reserveratios.pl b/circ/reserveratios.pl index 3152855639..23b664463d 100755 --- a/circ/reserveratios.pl +++ b/circ/reserveratios.pl @@ -69,7 +69,7 @@ $enddate = $todaysdate unless $enddate; $startdate = $todaysdate->clone->subtract( years => 1 ) unless $startdate; if (!defined($ratio)) { - $ratio = 3; + $ratio = C4::Context->preference('HoldRatioDefault'); } # Force to be a number $ratio += 0; 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 b9169b203f..118d6dcd9c 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 @@ -695,6 +695,11 @@ Circulation: 0: "Don't store" - 'the last patron to return an item. This setting is independent of the opacreadinghistory and AnonymousPatron system preferences.' Holds policy: + - + - Default the holds ratio report to + - pref: HoldRatioDefault + class: integer + - "." - - In the staff interface, split the holds queue into separate tables by - pref: HoldsSplitQueue