From fd1a64311e81769925b76fcda97e4544ead83ac7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 29 Jun 2015 01:12:24 +0200 Subject: [PATCH] Fix sorting of edit history entries with the same timestamp --- wcfsetup/install/files/lib/page/EditHistoryPage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1