Skip to content

Conversation

ranbena
Copy link
Contributor

@ranbena ranbena commented Jun 19, 2019

  • Bug Fix

Fixes #3918.

Description

"Save on change" is already a feature in the schedule dialog but since backend work allowing schedule to be null the comparison is faulty.

STR:

  1. Create new query.
  2. Open scheduler, change nothing, click ok.

Expected: No save.
Actual: Yes save.

Fixed by comparing after dict compaction.

@ranbena ranbena requested a review from arikfr June 19, 2019 13:38
@ranbena ranbena self-assigned this Jun 19, 2019
@arikfr arikfr merged commit 9ee393e into master Jun 20, 2019
@arikfr arikfr deleted the null branch June 20, 2019 05:54
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save query only when actually updating the schedule and not on OK

2 participants