mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
Explicitly setting an order_by fixes the issue of workflow nodes coming back out of whack on page 2 and beyond
This commit is contained in:
@@ -49,7 +49,7 @@ export default {
|
|||||||
// flashing as rest data comes in. Provides the list of workflow nodes
|
// flashing as rest data comes in. Provides the list of workflow nodes
|
||||||
workflowNodes: ['workflowData', 'Rest', '$q', function(workflowData, Rest, $q) {
|
workflowNodes: ['workflowData', 'Rest', '$q', function(workflowData, Rest, $q) {
|
||||||
var defer = $q.defer();
|
var defer = $q.defer();
|
||||||
Rest.setUrl(workflowData.related.workflow_nodes);
|
Rest.setUrl(workflowData.related.workflow_nodes + '?order_by=id');
|
||||||
Rest.get()
|
Rest.get()
|
||||||
.success(function(data) {
|
.success(function(data) {
|
||||||
if(data.next) {
|
if(data.next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user