From 21b0006e218f27af8eb7cba81a1b854892bfd5a8 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 6 Aug 2020 15:10:38 -0400 Subject: changed photo selector in fieldnotes to 'fn_' --- app/fieldnotes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3-70-g09d2