From 95d6dd19de10b8c153d1b850905625fa945a6697 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 18 Dec 2013 01:10:34 +0100 Subject: [PATCH] Small optimization --- wcfsetup/install/files/acp/templates/cronjobList.tpl | 2 +- wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/cronjobList.tpl b/wcfsetup/install/files/acp/templates/cronjobList.tpl index 2860c0f58e..6485f436f5 100644 --- a/wcfsetup/install/files/acp/templates/cronjobList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobList.tpl @@ -43,7 +43,7 @@ {lang}wcf.acp.cronjob.startDomShort{/lang} {lang}wcf.acp.cronjob.startMonthShort{/lang} {lang}wcf.acp.cronjob.startDowShort{/lang} - {lang}wcf.acp.cronjob.description{/lang} + {lang}wcf.acp.cronjob.description{/lang} {lang}wcf.acp.cronjob.nextExec{/lang} {event name='columnHeads'} diff --git a/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php b/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php index 7c58b04c36..025fbb19c3 100755 --- a/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php @@ -26,12 +26,12 @@ class CronjobListPage extends SortablePage { /** * @see \wcf\page\SortablePage::$defaultSortField */ - public $defaultSortField = 'description'; + public $defaultSortField = 'cronjobID'; /** * @see \wcf\page\SortablePage::$validSortFields */ - public $validSortFields = array('description', 'cronjobID', 'nextExec', 'startMinute', 'startHour', 'startDom', 'startMonth', 'startDow'); + public $validSortFields = array('cronjobID', 'nextExec', 'startMinute', 'startHour', 'startDom', 'startMonth', 'startDow'); /** * @see \wcf\page\MultipleLinkPage::$objectListClassName -- 2.20.1