SortableJS doesn't automatically update order inside items array, and because mapo links indexes with ids using the same items array it got initially from the first request (even if the ListTable has been reordered multiple times) at the end you get a discrepancy from what you save in your DB and what you actually see in ListTable. This fix simply reorders items in any case, even if offlineMode is disabled.
SortableJS doesn't automatically update order inside items array, and because mapo links indexes with ids using the same items array it got initially from the first request (even if the
ListTable
has been reordered multiple times) at the end you get a discrepancy from what you save in your DB and what you actually see inListTable
. This fix simply reorders items in any case, even ifofflineMode
is disabled.