Show latest exceptions first on exception log page
authorMatthias Schmidt <gravatronics@live.com>
Sat, 9 Feb 2019 10:06:19 +0000 (11:06 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 9 Feb 2019 10:06:19 +0000 (11:06 +0100)
See  #2831

wcfsetup/install/files/lib/acp/page/ExceptionLogViewPage.class.php

index 48f880a46d501117412f16660863492c29acf907..74848a5ca85b9f74fe3039195d1369a9ee337b3a 100644 (file)
@@ -196,6 +196,9 @@ class ExceptionLogViewPage extends MultipleLinkPage {
                        $matches['chain'] = $chainMatches;
                        $this->exceptions[$key] = $matches;
                }
+               
+               // show latest exceptions first
+               $this->exceptions = array_reverse($this->exceptions, true);
        }
        
        /**