summaryrefslogtreecommitdiff
path: root/app/fieldnotes/views.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-08-06 15:10:38 -0400
committerluxagraf <sng@luxagraf.net>2020-08-06 15:10:38 -0400
commit21b0006e218f27af8eb7cba81a1b854892bfd5a8 (patch)
tree61137ce2077f8b2d651b5d1315bbc524c2269130 /app/fieldnotes/views.py
parent647176b83d2316a8f68613adac18e579dac6e2b1 (diff)
changed photo selector in fieldnotes to 'fn_'
Diffstat (limited to 'app/fieldnotes/views.py')
-rw-r--r--app/fieldnotes/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/fieldnotes/views.py b/app/fieldnotes/views.py
index d9d1526..47fe353 100644
--- a/app/fieldnotes/views.py
+++ b/app/fieldnotes/views.py
@@ -33,7 +33,7 @@ class FieldNoteListView(PaginatedListView):
in reverse chronological order
"""
qs1 = FieldNote.objects.filter(status=1).order_by('-pub_date').prefetch_related('location')
- qs2 = LuxImage.objects.filter(is_public=True, title__startswith="daily_").prefetch_related('sizes').prefetch_related('location')
+ qs2 = LuxImage.objects.filter(is_public=True, title__startswith="fn_").prefetch_related('sizes').prefetch_related('location')
result_list = sorted(
chain(qs1, qs2),
key=attrgetter('pub_date')