Skip to content

Commit c4e68ee

Browse files
DidayoloIdirLISN
authored andcommitted
Fix Users show counts
1 parent 60226b1 commit c4e68ee

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/apps/profiles/admin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ def choices(self, changelist):
2525
)
2626
yield all_choice
2727

28+
def get_facet_counts(self, pk_attname, filtered_qs):
29+
# Text-input filters have no predefined choices to count (Django 5.0+ facets).
30+
return {}
31+
2832

2933
class QuotaFilter(InputFilter):
3034
# Human-readable title which will be displayed in the

0 commit comments

Comments
 (0)