From f831db3102f349ccd4347ca29e9048c56d6ce27d Mon Sep 17 00:00:00 2001 From: Ramon Navarro Bosch Date: Thu, 16 Jul 2015 13:43:34 +0200 Subject: [PATCH] Always show the same order on the control panel --- Products/CMFPlone/PloneControlPanel.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Products/CMFPlone/PloneControlPanel.py b/Products/CMFPlone/PloneControlPanel.py index 4afd1d77dd..9faa3d6cbd 100644 --- a/Products/CMFPlone/PloneControlPanel.py +++ b/Products/CMFPlone/PloneControlPanel.py @@ -137,10 +137,9 @@ def enumConfiglets(self, group=None): a['title'] = translate(title, context=self.REQUEST) - def _title(v): - return v['title'] - - res.sort(key=_title) + def _id(v): + return v['id'] + res.sort(key=_id) return res security.declareProtected(ManagePortal, 'unregisterConfiglet')