This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
orderBy filter causes wrong item to be dragged #70
Closed
Description
Using orderBy such as player in players | orderBy: 'first_name'
causes the wrong item to be dragged between two lists. It appears the ui-sortable list is based off of index, prior to sorting.
I started to create a plunker example outside of my project, but it's not quite working, so it's not very useful. I'm experiencing this issue when 2 or more lists are connected and list items are dragged between the two.
plunker: http://plnkr.co/edit/PQlIbjTU5j6IU7uMC0yI?p=preview
It appears to be an issue with ui.sortable indexing items prior to orderBy processing.