This commit is contained in:
IGNY8 VPS (Salman)
2025-12-15 10:31:20 +00:00
parent 1ef4bb7db6
commit 7fb2a9309e
10 changed files with 352 additions and 248 deletions

View File

@@ -774,7 +774,7 @@ class ClusterViewSet(SiteSectorModelViewSet):
# Search configuration - search by name
search_fields = ['name']
# Ordering configuration
# Ordering configuration - volume and difficulty are model fields kept in sync
ordering_fields = ['name', 'created_at', 'keywords_count', 'volume', 'difficulty']
ordering = ['name'] # Default ordering