We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a83fb commit 51be8c5Copy full SHA for 51be8c5
app/controllers/media_vault/archive_controller.rb
@@ -34,7 +34,7 @@ def index
34
35
# Set these variables if we want to
36
@from_date = from_date unless from_date == "0000-01-01"
37
- @to_date = to_date unless to_date == Date.today.to_s
+ @to_date = to_date unless to_date == Date.today.to_s && from_date == "0000-01-01"
38
39
# Yes, this is inefficient...
40
@fact_check_organizations = ArchiveItem.all.collect { |item| item.media_review&.media_review_author }.uniq.compact
0 commit comments