[Koha-bugs] [Bug 18450] Renew in header bypasses hold block and renewal limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 4 08:45:49 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18450

--- Comment #6 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 62811
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62811
Bug 18450 - Implemented check if either AllowRenewLimitOverride or
AllowRenewalIfOtherItemsAvaliable were set to allow, so the user is only
blocked if both of these sysprefs are set to 'Dont allow'

Review of attachment 62811:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18450&attachment=62811)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt
@@ +119,5 @@
> +                                       <input type="hidden" name="override_limit" value="1" />
> +                                       <input type="hidden" name="override_holds" value="1" />
> +                                       <button type="submit" class="approve"><i class="fa fa-check"></i> Override and renew</button>
> +                                     </form>
> +                                [% ELSIF ((Koha.Preference('AllowRenewalLimitOverride')) && !(Koha.Preference('AllowRenewalIfOtherItemsAvai    lable'))) %]

wrong copy paste in AllowRenewalIfOtherItemsAvailable preference name

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list