[Koha-bugs] [Bug 23268] "Suspend all holds" calendar allows to select past date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 10 13:03:59 CET 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

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

--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 100452
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100452&action=edit
Bug 23268: Make "Suspend all holds" calendar select a date from tomorrow

This patch removes "circulation" and moremember" templates functions
for Datepicker plugin. They now use options common for all inputs with
"datepicker" class and get "minDate" option from class "futuredate" assigned
function in "calender.inc".

To test:
- Apply patch
- Add holds for patron
- Use "Suspend all holds" calendar
=>Calendar greys out dates past from today

Signed-off-by: David Roberts <david.roberts at ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Amended patch: Align .futuredate in calendar.inc

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


More information about the Koha-bugs mailing list