From: Tim Düsterhus Date: Sun, 28 Jun 2015 23:12:24 +0000 (+0200) Subject: Fix sorting of edit history entries with the same timestamp X-Git-Tag: 2.1.5~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd1a64311e81769925b76fcda97e4544ead83ac7;p=GitHub%2FWoltLab%2FWCF.git Fix sorting of edit history entries with the same timestamp --- diff --git a/wcfsetup/install/files/lib/page/EditHistoryPage.class.php b/wcfsetup/install/files/lib/page/EditHistoryPage.class.php index 0fe7aef43a..1630323d1c 100644 --- a/wcfsetup/install/files/lib/page/EditHistoryPage.class.php +++ b/wcfsetup/install/files/lib/page/EditHistoryPage.class.php @@ -147,7 +147,7 @@ class EditHistoryPage extends AbstractPage { parent::readData(); $this->objectList = new EditHistoryEntryList(); - $this->objectList->sqlOrderBy = "time DESC"; + $this->objectList->sqlOrderBy = "time DESC, entryID DESC"; $this->objectList->getConditionBuilder()->add('objectTypeID = ?', array($this->objectType->objectTypeID)); $this->objectList->getConditionBuilder()->add('objectID = ?', array($this->objectID)); $this->objectList->readObjects();