diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/fieldnotes/views.py | 2 |
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') |