From b02fdb673a841d4788f414138de41711114d8f9b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 8 Oct 2015 14:35:06 -0700 Subject: [PATCH] GUAC-1193: Fix ordering of record search results (OGNL comparison for enums is not string-based). --- .../jdbc/connection/ConnectionRecordMapper.xml | 14 ++++++++++---- .../jdbc/connection/ConnectionRecordMapper.xml | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml index 7a2565de6..113c0d209 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml @@ -113,14 +113,20 @@ ) + + + + + + - guacamole_connection.connection_name - guacamole_user.username - guacamole_connection_history.start_date - guacamole_connection_history.end_date + guacamole_connection.connection_name + guacamole_user.username + guacamole_connection_history.start_date + guacamole_connection_history.end_date 1 DESC diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml index fd532d43e..8a7ac1fff 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/resources/org/glyptodon/guacamole/auth/jdbc/connection/ConnectionRecordMapper.xml @@ -113,14 +113,20 @@ ) + + + + + + - guacamole_connection.connection_name - guacamole_user.username - guacamole_connection_history.start_date - guacamole_connection_history.end_date + guacamole_connection.connection_name + guacamole_user.username + guacamole_connection_history.start_date + guacamole_connection_history.end_date 1 DESC