pnsn / mustangular

Version 2 of MUSTANGular.
1 stars 0 forks source link

Start and end date selection issue when editing #31

Closed gillian-earthscope closed 3 years ago

gillian-earthscope commented 4 years ago

If you hit the 'Edit Query' button to take you back to the input form and then try to change the dates, you cannot select an end date prior to the original start date, even after you change the start date to an earlier date. As an example, my original query was: http://ds.iris.edu/mustang/mustangular/#/map?net=TA&cha=BHZ&sta=A%3F%3F%3F&start=2020-04-19&end=2020-04-21&metric=NUM_GAPS

From the input form page, I changed the start date to 2020-04-12 and the valid end date selections were blacked out prior to 2020-04-19. See attached screenshot.

enddate_issue

Conversely, I also can't choose a new start date after the original end date.

kyla-m commented 4 years ago

Fixed: changed calendar to use currently selected dates instead of initial dates.

kyla-m commented 3 years ago

Was this still an issue?