mirror of https://github.com/portainer/portainer
fix(datatables): default orderby now applied correctly (#3022)
parent
fbcffb7969
commit
1089846fd6
|
@ -203,5 +203,6 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
|
||||||
this.columnVisibility = storedColumnVisibility;
|
this.columnVisibility = storedColumnVisibility;
|
||||||
this.columnVisibility.state.open = false;
|
this.columnVisibility.state.open = false;
|
||||||
}
|
}
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -135,6 +135,7 @@ angular.module('portainer.docker')
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -66,5 +66,6 @@ function ($scope, $controller, DatatableService) {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -45,6 +45,7 @@ angular.module('portainer.docker')
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
|
@ -86,6 +86,7 @@ angular.module('portainer.docker')
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -99,5 +99,6 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -42,5 +42,6 @@ function ($scope, $controller, DatatableService) {
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -65,5 +65,6 @@ function ($scope, $controller, DatatableService) {
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -37,6 +37,7 @@ angular.module('portainer.docker')
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
|
@ -51,5 +51,6 @@ function($scope, $controller, clipboard, Notifications, StoridgeNodeService, Dat
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -41,6 +41,7 @@ angular.module('portainer.app')
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
|
@ -145,6 +145,7 @@ function ($interval, PaginationService, DatatableService, PAGINATION_MAX_ITEMS)
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -41,6 +41,7 @@ angular.module('portainer.app')
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -41,6 +41,7 @@ function ($scope, $controller, DatatableService) {
|
||||||
this.settings.open = false;
|
this.settings.open = false;
|
||||||
}
|
}
|
||||||
this.onSettingsRepeaterChange();
|
this.onSettingsRepeaterChange();
|
||||||
|
this.state.orderBy = this.orderBy;
|
||||||
};
|
};
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
Loading…
Reference in New Issue