Skip to content

Conversation

@johnhoffman
Copy link
Contributor

These attributes allow a developer to control the ordering of sibling nodes on the front-end without requiring the tree data to be changed.

yoavaa added a commit that referenced this pull request Apr 3, 2014
treecontrol attributes to control ordering (order-by & reverse-order)
@yoavaa yoavaa merged commit 1b0f488 into wix-incubator:master Apr 3, 2014
gempesaw added a commit to honeydew-sc/honeydew-ng that referenced this pull request Dec 20, 2014
Pass-through support for the orderBy filter was added to the main
project in wix-incubator/angular-tree-control#15. However, this was breaking the
sorting for our app where we sort on our own beforehand in the backend,
and manually sort after adding new branches and leaves to the tree. It
seems like having an empty orderBy expression in the template was
leading to issues since each one of our nodes are actually objects, so a
naive sort implementation wouldn't be able to sort it properly.

This is just a temporary fix while we attempt to address the issue
upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants