two parameters with same name - bug fix
This commit is contained in:
@@ -8480,11 +8480,11 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
reststrokes = not workstrokesonly
|
||||
r = getrower(request.user)
|
||||
try:
|
||||
r = metrics.yaxmaxima[xparam]
|
||||
range = metrics.yaxmaxima[xparam]
|
||||
if yparam1 is not None:
|
||||
r = metrics.yaxmaxima[yparam1]
|
||||
range = metrics.yaxmaxima[yparam1]
|
||||
if yparam2 is not None:
|
||||
r = metrics.yaxmaxima[yparam2]
|
||||
range = metrics.yaxmaxima[yparam2]
|
||||
f = FavoriteChart(user=r,xparam=xparam,
|
||||
yparam1=yparam1,yparam2=yparam2,
|
||||
plottype=plottype,workouttype=workouttype,
|
||||
|
||||
Reference in New Issue
Block a user