Private
Public Access
1
0

weightcat to weightclass

This commit is contained in:
Sander Roosendaal
2020-06-28 19:35:12 +02:00
parent 733e697ecf
commit 0bc9a7089b

View File

@@ -1400,7 +1400,7 @@ def default_class(r,w,race):
agemin__lt=age,agemax__gt=age agemin__lt=age,agemax__gt=age
).order_by( ).order_by(
"agemax","-agemin","boattype","sex", "agemax","-agemin","boattype","sex",
"weightcategory","referencespeed") "weightclass","referencespeed")
if standards.count()==0: if standards.count()==0:
# boolean, boattype, boatclass, adaptiveclass, weightclass, sex, coursestandard, # boolean, boattype, boatclass, adaptiveclass, weightclass, sex, coursestandard,