btford / btford/angular-dragon-drop
when adding "orderBy" filter to second collection-no item displayed
- Dominant language
- JavaScript
- Stars
- 225
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
I want both collections to be sorted by some id:
After i dragged some item to dropabble area - i want the dropped collection to be sorted too.
```
angular.module('ExampleApp', ['btford.dragon-drop']).
controller('MainCtrl', function ($scope) {
$scope.things = [{name:'one',id:3}, {name:'two',id:2}, {name:'three',id:1}];
$scope.otherThings = [];
});
```
When "orderby" filter added to first collection in the demo - its displayed correctly
but nothing displayed after adding "orderby" filter to second droparea
(after you dragged and dropped some items from the first)
```
< class="row">
Things
Other Things
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.