Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2021-03-24 12:02:23 +01:00
parent ca1f295964
commit 389119144a

View File

@@ -2535,7 +2535,7 @@ def rower_view_instantplan(request,id='',userid=0):
try:
targetid = request.POST['target']
if targetid != '':
target = TrainingTarget.ojects.get(id=int(targetid))
target = TrainingTarget.objects.get(id=int(targetid))
else:
target = None
except KeyError:
@@ -2685,7 +2685,7 @@ def rower_select_instantplan(request,id=0):
themanager = getrower(request.user)
# get and present available plans
ips = InstantPlan.objects.all().order_by("sessionsperweek","hoursperweek","duration")
ips = InstantPlan.objects.all().order_by("sessionsperweek","hoursperweek","duration","id")
breadcrumbs = [
{