diff options
author | Jayashankar Padath <jayashankar.padath@in.ibm.com> | 2018-05-14 17:47:08 +0530 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-05-15 12:19:40 +0000 |
commit | c66c97e0ab23a610103b6d948ec7852b79cc4192 (patch) | |
tree | 7ebe9aeefef98fce9f0d9d818a25485aa9bdc7d1 /app/server-health | |
parent | ff2313db3686ed23bec93871b1f3f31cbbd6e399 (diff) | |
download | phosphor-webui-c66c97e0ab23a610103b6d948ec7852b79cc4192.tar.gz phosphor-webui-c66c97e0ab23a610103b6d948ec7852b79cc4192.zip |
Display event logs in ascending order
Reversed the event log order to show the newest event first
Resolves openbmc/openbmc#3161
Tested: Running GUI locally and verified the order in both Server
overview page and in Server health -> Event log page
Change-Id: I1f1265332bb426d3f2a13932cfd5445740c3f49b
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
Diffstat (limited to 'app/server-health')
-rw-r--r-- | app/server-health/controllers/log-controller.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/server-health/controllers/log-controller.html b/app/server-health/controllers/log-controller.html index ba21bc6..6d4023a 100644 --- a/app/server-health/controllers/log-controller.html +++ b/app/server-health/controllers/log-controller.html @@ -64,7 +64,7 @@ </div> </div> <log-event - dir-paginate="event in (filteredLogs = (logs|filter:filterBySeverity|filter:filterByStatus|filter:filterByDate|filter:filterBySearchTerms | orderBy:'+Id'))| itemsPerPage: itemsPerPage" + dir-paginate="event in (filteredLogs = (logs|filter:filterBySeverity|filter:filterByStatus|filter:filterByDate|filter:filterBySearchTerms | orderBy:sortAscending:'+Id'))| itemsPerPage: itemsPerPage" event="event" tmz="tmz" multi-selected="selectedEvents.length > 1" |