From fb9661898d09c7a391abcc56a9c4b51d8065e491 Mon Sep 17 00:00:00 2001
From: Emmanuel ROHEE <erohee@amdocs.com>
Date: Wed, 27 Aug 2014 16:24:23 +0200
Subject: BF: use room_id if there is no alias

---
 webclient/recents/recents.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webclient')

diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html
index 6b9abce02c..6d2864ac97 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 | orderRecents" 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 : room.room_id) )" class ="recentsRoom" >
             <tr>
                 <td class="recentsRoomName">
                     {{ room.room_display_name }}
-- 
cgit 1.5.1