[Koha-bugs] [Bug 9743] Allow customization for making hold notes required

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 19 11:27:34 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9743

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34422|0                           |1
        is obsolete|                            |

--- Comment #32 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 34526
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34526&action=edit
Bug 9743: Allow customization for making hold notes required

This patch removes some unused code in the reserves template for
mandatory hold notes reasons. It adds a simpler approach: if you
define a custom routine for required hold notes, the textarea is
required under the conditions you specified.

Test plan:
[1] Without adding a routine in opac-reserve:
    Place a hold on one and on more biblio numbers.
    Verify that hold notes are not required in any case.
[2] Add the following simple routine to opac-reserve:
    sub _reqholdnotes { 1; }
    Verify that hold notes are always required now.
[3] Place a multiple hold request and check the following:
    If you hide the hold notes (and leave them blank), the additional
    options (incl. hold notes) should expand again for the first biblio
    with required hold notes when submitting the form.

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


More information about the Koha-bugs mailing list