Skip to content

Commit

Permalink
Merged in bugfix/CHOUETTE-2394-source-icar-partial-syncho-never-retri…
Browse files Browse the repository at this point in the history
…eves-data (pull request #1072)

CHOUETTE-2394 add retrieval_days_of_week_changed? trigger to check reschedule needed

Approved-by: Luc Donnet
  • Loading branch information
Hai Hieu Vu authored and Luc Donnet committed Oct 10, 2022
2 parents 993e877 + 398154b commit b2b3c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def reschedule!
end

def reschedule_needed?
retrieval_frequency_changed? || retrieval_time_of_day_changed?
retrieval_frequency_changed? || retrieval_time_of_day_changed? || retrieval_days_of_week_changed?
end

def retrieval_days_of_week_attributes=(attributes)
Expand Down

0 comments on commit b2b3c0c

Please sign in to comment.