Fixed default order in user list

This commit is contained in:
Marcin Kurczewski 2014-09-28 23:54:38 +02:00
parent f573c1b988
commit 169d5f7068

View file

@ -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}});