Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/apps/competitions/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def choices(self, changelist):
)
yield all_choice

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


class SubmissionsCountFilter(InputFilter):
# Human-readable title which will be displayed in the
Expand Down
4 changes: 4 additions & 0 deletions src/apps/profiles/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def choices(self, changelist):
)
yield all_choice

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


class QuotaFilter(InputFilter):
# Human-readable title which will be displayed in the
Expand Down
6 changes: 3 additions & 3 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"tag_name": "v1.26",
"release_name": "v1.26",
"html_url": "https://github.com/codalab/codabench/releases/tag/v1.26"
"tag_name": "v1.27",
"release_name": "v1.27",
"html_url": "https://github.com/codalab/codabench/releases/tag/v1.27"
}
Loading