Skip to content

Commit 08f6180

Browse files
committed
Added request to the FacetedSearchView context. Thanks to dannercustommade for the report!
1 parent 64270d6 commit 08f6180

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

haystack/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def build_form(self, form_kwargs=None):
161161

162162
def extra_context(self):
163163
extra = super(FacetedSearchView, self).extra_context()
164+
extra['request'] = self.request
164165
extra['facets'] = self.results.facet_counts()
165166
return extra
166167

0 commit comments

Comments
 (0)