X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/blobdiff_plain/eb82d8f9e1a13678be84f554f73595b6c7902591..1eeef1dbdd63d9d1f468c00a8b35f4fe11d8c72f:/skins/portfolio_edit_form.py
diff --git a/skins/portfolio_edit_form.py b/skins/portfolio_edit_form.py
index ad661d2..da34aa4 100644
--- a/skins/portfolio_edit_form.py
+++ b/skins/portfolio_edit_form.py
@@ -28,9 +28,9 @@ if fg('delete.x') or form.has_key('delete') :
else :
return '%s' % msg
if fg('set_sorting') :
- context.setDefaultSorting(fg('sorting'), False)
+ context.setDefaultSorting(fg('sort_on'), False)
if not fg('ajax') :
return context.setRedirect(context, 'object/view')
else :
- return ''
+ return ''
return ''
\ No newline at end of file