Revision: 4446
Author: solomax666
Date: Fri Oct 21 06:46:26 2011
Log: - connections were not displayed correctly due to typo in "order
by" column name
http://code.google.com/p/openmeetings/source/detail?r=4446
Modified:
/trunk/singlewebapp/WebContent/openmeetings/modules/admin/connections/roomClient.lzx
/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ClientListManager.java
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/modules/admin/connections/roomClient.lzx
Fri Nov 20 07:07:23 2009
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/admin/connections/roomClient.lzx
Fri Oct 21 06:46:26 2011
@@ -5,7 +5,7 @@
<class name="roomClient" extends="baseContentView">
<turnOverList name="_turnoverlist" width="780" height="${ canvas.height -
110 }"
- x="2" y="0" orderby="rooms_id" step="50" asc="true">
+ x="2" y="0" orderby="room_id" step="50" asc="true">
<handler name="oninit">
this.addHeaderItem(599,80);
=======================================
---
/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ClientListManager.java
Sat Oct 1 11:15:55 2011
+++
/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ClientListManager.java
Fri Oct 21 06:46:26 2011
@@ -225,7 +225,7 @@
String orderby, boolean asc) {
String sq = "select rc from RoomClient rc";
if (orderby != null && orderby.trim().length() > 0) {
- sq += " ORDER BY " + orderby + " " + (asc ? "ASC" :
"DESC");
+ sq += " ORDER BY rc." + orderby + " " + (asc ? "ASC" :
"DESC");
}
Query q = em.createQuery(sq);
q.setFirstResult(start);
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.