diff --git a/grails-app/controllers/streama/UserActivityController.groovy b/grails-app/controllers/streama/UserActivityController.groovy index 0d5fa7810..638efd4dd 100644 --- a/grails-app/controllers/streama/UserActivityController.groovy +++ b/grails-app/controllers/streama/UserActivityController.groovy @@ -10,7 +10,7 @@ class UserActivityController { def index(Integer max) { params.max = Math.min(max ?: 20, 100) - params.sort = 'id' + params.sort = params.sort ?: 'id' params.order = 'DESC' params.offset = params.int('offset') ?: 0