Skip to content

Commit

Permalink
Order the children returned.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed Dec 5, 2023
1 parent 6611ff2 commit ffed04e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function normalize($object, $format = NULL, array $context = []) {
$query = $this->entityTypeManager->getStorage('node')->getQuery();
$ids = $query->condition(IslandoraUtils::MEMBER_OF_FIELD, $object->getEntity()->id())
->accessCheck()
->sort('field_weight')
->execute();

// Load all the entities.
Expand Down

0 comments on commit ffed04e

Please sign in to comment.