projects
/
Portfolio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IHM pour définir le tri par défaut. Fonctionne sans js (pour l'instant).
[Portfolio.git]
/
skins
/
portfolio_edit_form.py
diff --git
a/skins/portfolio_edit_form.py
b/skins/portfolio_edit_form.py
index
cb9e93b
..
ad661d2
100644
(file)
--- a/
skins/portfolio_edit_form.py
+++ b/
skins/portfolio_edit_form.py
@@
-27,4
+27,10
@@
if fg('delete.x') or form.has_key('delete') :
else :
return '<deleted>%s</deleted>' % msg
else :
return '<deleted>%s</deleted>' % msg
+if fg('set_sorting') :
+ context.setDefaultSorting(fg('sorting'), False)
+ if not fg('ajax') :
+ return context.setRedirect(context, 'object/view')
+ else :
+ return '<done/>'
return '<error/>'
\ No newline at end of file
return '<error/>'
\ No newline at end of file