btford / btford/angular-dragon-drop

when adding "orderBy" filter to second collection-no item displayed

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
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


{{thing.name}}



Other Things


{{thing.name}}

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.