mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Jobs page cosmetic fixes. Fixed pagination/search issue causing current page # to be incorrect.
This commit is contained in:
@@ -78,6 +78,7 @@ angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper'])
|
||||
scope[iterator + 'SearchParams'] = '';
|
||||
scope[iterator + 'SearchParams'] += (default_order) ? '?order_by=' + escape(default_order) : '';
|
||||
}
|
||||
scope[iterator + 'Page'] = 0;
|
||||
url += scope[iterator + 'SearchParams'];
|
||||
url += (scope[iterator + 'PageSize']) ? '&page_size=' + scope[iterator + 'PageSize'] : "";
|
||||
Refresh({ scope: scope, set: set, iterator: iterator, url: url });
|
||||
|
||||
Reference in New Issue
Block a user