From 169d5f7068c24ca42c0b0d5b87feff0ead5aa590 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 28 Sep 2014 23:54:38 +0200 Subject: [PATCH] Fixed default order in user list --- public_html/js/Presenters/UserListPresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Presenters/UserListPresenter.js b/public_html/js/Presenters/UserListPresenter.js index 78ca59da..9993d3f6 100644 --- a/public_html/js/Presenters/UserListPresenter.js +++ b/public_html/js/Presenters/UserListPresenter.js @@ -53,7 +53,7 @@ App.Presenters.UserListPresenter = function( loaded(); var searchArgs = util.parseComplexRouteArgs(args.searchArgs); - searchArgs.order = searchArgs.order || 'name'; + searchArgs.order = searchArgs.order || 'name,asc'; updateActiveOrder(searchArgs.order); pagedCollectionPresenter.reinit({page: searchArgs.page, searchParams: {order: searchArgs.order}});