Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I guess I'm doing something wrong but I can't realise what. I'm just playing with a custom dashboard for the backend. My controller is this:
angular.module("umbraco").controller("test.controller", function ($scope, contentResource) { contentResource.getChildren(1065, { orderBy: "Name", //I tried with CreateDate and _umb_createdate and name orderDirection: "Descending", pageSize: 6, page: 0 }).then(function (data) { $scope.items= data.items; }); })
And doesn't matter what orderDirection I enter that always returns in Ascending order. Ideas? Thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Order on contentResource.GetChildren wrong
I guess I'm doing something wrong but I can't realise what. I'm just playing with a custom dashboard for the backend. My controller is this:
And doesn't matter what orderDirection I enter that always returns in Ascending order. Ideas? Thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.