fixes
This commit is contained in:
@@ -1385,7 +1385,7 @@ def default_class(r,w,race):
|
||||
adaptiveclass=adaptiveclass,
|
||||
boattype=boattype,
|
||||
).order_by(
|
||||
"agemax","-agemin","boattype","sex","weightcategory",
|
||||
"agemax","-agemin","boattype","sex","weightclass",
|
||||
"referencespeed"
|
||||
)
|
||||
if standards.count()==0:
|
||||
@@ -1394,7 +1394,7 @@ def default_class(r,w,race):
|
||||
boattype=boattype
|
||||
).order_by(
|
||||
"agemax","-agemin","boattype","sex",
|
||||
"weightcategory","referencespeed")
|
||||
"weightclass","referencespeed")
|
||||
if standards.count()==0:
|
||||
standards = CourseStandard.objects.filter(
|
||||
agemin__lt=age,agemax__gt=age
|
||||
|
||||
Reference in New Issue
Block a user