From: Marcel Werk Date: Wed, 18 Dec 2013 00:10:34 +0000 (+0100) Subject: Small optimization X-Git-Tag: 2.0.1~45^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=95d6dd19de10b8c153d1b850905625fa945a6697;p=GitHub%2FWoltLab%2FWCF.git Small optimization --- 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