Skip to content

Commit

Permalink
Ensure that only published or set issues display.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrbyers committed Nov 27, 2024
1 parent df7e0cc commit ee827ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following settings should be added to your `settings.py` file.
```python
SO_FTP_SERVER = 'a.server.com'
SO_FTP_USERNAME = 'ausername'
SO_FTP_PASSWORD = 'apassword',
SO_FTP_PASSWORD = 'apassword'
```

## How it works
Expand Down
3 changes: 2 additions & 1 deletion views.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
def manager(request):
if request.journal:
issues = models.Issue.objects.filter(
journal=request.journal
journal=request.journal,
date__isnull=False,
)
else:
issues = models.Issue.objects.all().order_by(
Expand Down

0 comments on commit ee827ed

Please sign in to comment.