fixed sort in User Activity Logs for User column
This commit is contained in:
parent
30e901f20e
commit
87951bdaaa
2 changed files with 3 additions and 2 deletions
|
@ -196,6 +196,7 @@ public class UserActivityLogs implements TemplateComposer {
|
||||||
UserActivityLog.ATTR_USER_NAME,
|
UserActivityLog.ATTR_USER_NAME,
|
||||||
USER_TEXT_KEY,
|
USER_TEXT_KEY,
|
||||||
UserActivityLog::getUsername)
|
UserActivityLog::getUsername)
|
||||||
|
.sortable()
|
||||||
.withFilter(this.userNameFilter))
|
.withFilter(this.userNameFilter))
|
||||||
|
|
||||||
.withColumn(new ColumnDefinition<UserActivityLog>(
|
.withColumn(new ColumnDefinition<UserActivityLog>(
|
||||||
|
|
|
@ -306,8 +306,8 @@ public class PaginationServiceImpl implements PaginationService {
|
||||||
// User Activity Log Table
|
// User Activity Log Table
|
||||||
final Map<String, String> userActivityLogTableMap = new HashMap<>();
|
final Map<String, String> userActivityLogTableMap = new HashMap<>();
|
||||||
userActivityLogTableMap.put(
|
userActivityLogTableMap.put(
|
||||||
Domain.USER_ACTIVITY_LOG.ATTR_USER_UUID,
|
Domain.USER.ATTR_USERNAME,
|
||||||
UserActivityLogRecordDynamicSqlSupport.userUuid.name());
|
UserRecordDynamicSqlSupport.username.name());
|
||||||
userActivityLogTableMap.put(
|
userActivityLogTableMap.put(
|
||||||
Domain.USER_ACTIVITY_LOG.ATTR_ACTIVITY_TYPE,
|
Domain.USER_ACTIVITY_LOG.ATTR_ACTIVITY_TYPE,
|
||||||
UserActivityLogRecordDynamicSqlSupport.activityType.name());
|
UserActivityLogRecordDynamicSqlSupport.activityType.name());
|
||||||
|
|
Loading…
Reference in a new issue