Skip to content

Commit

Permalink
[BUGFIX] Fix for rule prefetch on /search #435
Browse files Browse the repository at this point in the history
  • Loading branch information
kfdm authored Aug 7, 2023
2 parents 85cfac5 + 2f1674b commit 9c540b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promgen/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ def get(self, request):
"rule_list": {
"field": ("name__icontains", "clause__icontains"),
"model": models.Rule,
"prefetch": ("content_object"),
"prefetch": ("content_object",),
"query": ("search",),
},
"service_list": {
Expand Down

0 comments on commit 9c540b5

Please sign in to comment.