Skip to content

Commit

Permalink
Fix filter by date in IssueQuerySet.open_for_submission
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Aug 13, 2024
1 parent 9a66db7 commit cf12635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/journal/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def open_for_submission(self):
return self.filter(
models.Q(date_close__isnull=True) | models.Q(date_close__gte=_now),
models.Q(date_open__isnull=True) | models.Q(date_open__lte=_now)
)
).exclude(date_open__isnull=True, date_close__isnull=True)

def collection(self):
"""Filter collection type issues."""
Expand Down

0 comments on commit cf12635

Please sign in to comment.