summary refs log tree commit diff
path: root/webclient/recents/recents.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-27 15:50:07 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-27 15:55:51 +0200
commit87190a9673cc6cf81b1fa54892c0d0b229c0c705 (patch)
tree75d27989e57e435ea12399f1a440218599083d51 /webclient/recents/recents.html
parentMoved recents things into a separate (and reusable) controler (diff)
downloadsynapse-87190a9673cc6cf81b1fa54892c0d0b229c0c705.tar.xz
Sort recents in anti-chronological order
Diffstat (limited to '')
-rw-r--r--webclient/recents/recents.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 9817d1acee..6b9abce02c 100644
--- a/webclient/recents/recents.html
+++ b/webclient/recents/recents.html
@@ -1,6 +1,6 @@
 <div ng-controller="RecentsController" data-ng-init="onInit()">
     <table class="recentsTable">
-        <tbody ng-repeat="(rm_id, room) in rooms" ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : rm_id) )" class ="recentsRoom" >
+        <tbody ng-repeat="(rm_id, room) in rooms | orderRecents" ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : rm_id) )" class ="recentsRoom" >
             <tr>
                 <td class="recentsRoomName">
                     {{ room.room_display_name }}