Closed MennaRempt closed 1 year ago
SermonListView
, and then specifically the filter keyword
kwlist
, which gets filled as Keyword.get_scoped_queryset(username, team_group)
adapt_search()
:
kwlist
to restrict it to some particular keywordsSermonDescrEqual
, or more directly via S's field equalgolds
keywords
(m2m)qs = SermonDescr.objects.filter(equalgolds__keywords__id__in=kwlist).distinct()
Okay, works
When filtering the manifestations on keyword, manifestations that have that keyword as a related keyword (i.e. the manifestation is linked to an AF with that keyword) should also appear as results.