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

M. de Rooy <[email protected]> changed:

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

--- Comment #32 from M. de Rooy <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to