?_facet_size=100 parameter, closes #1332

This commit is contained in:
Simon Willison 2021-05-22 17:34:33 -07:00
commit 9789b94da4
5 changed files with 73 additions and 4 deletions

View file

@ -619,6 +619,7 @@ Each Facet subclass implements a new type of facet operation. The class should l
# using self.sql and self.params as the starting point
facet_results = {}
facets_timed_out = []
facet_size = self.get_facet_size()
# Do some calculations here...
for column in columns_selected_for_facet:
try: