1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(datatables): default orderby now applied correctly (#3022)

This commit is contained in:
xAt0mZ 2019-07-23 05:09:43 +02:00 committed by Anthony Lapenna
parent fbcffb7969
commit 1089846fd6
14 changed files with 14 additions and 0 deletions

View file

@ -203,5 +203,6 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
this.columnVisibility = storedColumnVisibility;
this.columnVisibility.state.open = false;
}
this.state.orderBy = this.orderBy;
};
}]);

View file

@ -135,6 +135,7 @@ angular.module('portainer.docker')
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}
]);

View file

@ -66,5 +66,6 @@ function ($scope, $controller, DatatableService) {
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}]);

View file

@ -45,6 +45,7 @@ angular.module('portainer.docker')
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}
]);

View file

@ -86,6 +86,7 @@ angular.module('portainer.docker')
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}
]);

View file

@ -99,5 +99,6 @@ function ($scope, $controller, DatatableService, EndpointProvider) {
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}]);

View file

@ -42,5 +42,6 @@ function ($scope, $controller, DatatableService) {
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}]);

View file

@ -65,5 +65,6 @@ function ($scope, $controller, DatatableService) {
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}]);

View file

@ -37,6 +37,7 @@ angular.module('portainer.docker')
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}
]);

View file

@ -51,5 +51,6 @@ function($scope, $controller, clipboard, Notifications, StoridgeNodeService, Dat
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}]);

View file

@ -41,6 +41,7 @@ angular.module('portainer.app')
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}
]);

View file

@ -145,6 +145,7 @@ function ($interval, PaginationService, DatatableService, PAGINATION_MAX_ITEMS)
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
/**

View file

@ -41,6 +41,7 @@ angular.module('portainer.app')
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}
]);

View file

@ -41,6 +41,7 @@ function ($scope, $controller, DatatableService) {
this.settings.open = false;
}
this.onSettingsRepeaterChange();
this.state.orderBy = this.orderBy;
};
}]);