[Koha-bugs] [Bug 30755] auto_too_soon should not be counted as an error in autorenewals

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 13 15:16:38 CEST 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This patch alters the way
      release notes|                            |errors/successes are
                   |                            |counted in auto renewals.
                   |                            |Prior to this patch, using
                   |                            |[% error %] in a template
                   |                            |would provide a count of
                   |                            |all items not renewed, even
                   |                            |if 'too_soon'
                   |                            |
                   |                            |After this
                   |                            |patch [% error +
                   |                            |results.auto_too_soon %]
                   |                            |will provide the same
                   |                            |count, or you can get a
                   |                            |count of each error  in the
                   |                            |results variable
                   |                            |
                   |                            |e.g.
                   |                            |Some
                   |                            |items were not renewed:
                   |                            |[%
                   |                            |FOREACH key in results.keys
                   |                            |%]
                   |                            |    [% results.$key %]
                   |                            |item(s) were not renewed
                   |                            |for reason [% key %]
                   |                            |[% END
                   |                            |%]

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


More information about the Koha-bugs mailing list