Always show count of distinct facet values, closes #1556

Refs #1423
This commit is contained in:
Simon Willison 2021-12-15 09:58:01 -08:00
commit eb53837d2a
3 changed files with 5 additions and 11 deletions

View file

@ -937,7 +937,6 @@ class TableView(RowTableShared):
key=lambda f: (len(f["results"]), f["name"]),
reverse=True,
),
"show_facet_counts": special_args.get("_facet_size") == "max",
"extra_wheres_for_ui": extra_wheres_for_ui,
"form_hidden_args": form_hidden_args,
"is_sortable": any(c["sortable"] for c in display_columns),