[Koha-bugs] [Bug 21885] Calendar to-date starts before end-date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 27 11:06:07 CET 2018


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

paxed <pasi.kallinen at joensuu.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|koha-bugs at lists.koha-commun |pasi.kallinen at joensuu.fi
                   |ity.org                     |
             Status|NEW                         |Needs Signoff

--- Comment #1 from paxed <pasi.kallinen at joensuu.fi> ---
Created attachment 82659
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82659&action=edit
Calendar to-date starts before end-date

When adding new holidays to the calendar, you pick the start date,
and then the end date, but the end date calendar will start from
current date, not from the picked start date. Sometimes this means
many extra clicks to pick an end date.

Make the end date calendar start from the beginning date by default.

Test plan:

1) Go to the tools -> calendar
2) Pick a start date somewhere in the future, and then open the
   end date calendar. Notice how it starts before the start date
   of the date range.
3) Apply patch.
4) Pick a start date in the future. The end date calendar should
   automatically default to the same date.
5) Change the start date a day backwards, note how the end date
   does not change.
6) Change the start date after the end date, note how the end date
   adjusts, so it is not in the past.

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


More information about the Koha-bugs mailing list