Introduced SortablePage::$validSortFields
authorMatthias Schmidt <gravatronics@live.com>
Thu, 28 Jul 2011 12:45:29 +0000 (14:45 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 28 Jul 2011 12:45:29 +0000 (14:45 +0200)
commite34164d26d3f9ef0b4b8f52e68573bffb992f052
treeba7ab862aa4ae6db45c652899fc98cf1dca6da73
parent818174dd8e2704ae2c567d86692cf964a0623bf9
Introduced SortablePage::$validSortFields

With the new property SortablePage::$validSortFields many classes don't
need to overwrite SortablePage::validateSortField(), the valid sort
fields just need to be added to the SortablePage::$validSortFields
array. It also makes it easier for plugins to add new valid sort fields.
wcfsetup/install/files/lib/acp/page/ACPSessionLogListPage.class.php
wcfsetup/install/files/lib/acp/page/ACPSessionLogPage.class.php
wcfsetup/install/files/lib/acp/page/CronjobListPage.class.php
wcfsetup/install/files/lib/acp/page/CronjobLogListPage.class.php
wcfsetup/install/files/lib/acp/page/PackageListPage.class.php
wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php
wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php
wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php
wcfsetup/install/files/lib/acp/page/UserListPage.class.php
wcfsetup/install/files/lib/page/SortablePage.class.php