mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Change param asc to ascending
For consistency, change param asc to ascending: https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/17?u=oblakeerickson
This commit is contained in:
@@ -27,7 +27,7 @@ class AdminUserIndexQuery
|
||||
end
|
||||
|
||||
def custom_direction
|
||||
asc = params[:asc]
|
||||
asc = params[:ascending]
|
||||
asc.present? && asc ? "ASC" : "DESC"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user