Cargo la pagina y aparecen en este orden
1. Once dropped, an Ajax query is activated
2. Dragging changes the opacity of the item
3. Returned array can be found at the right
4. It is very very easy
Agrego un nuevo item llamado "First Question" y recargo
5. First Question
1. Once dropped, an Ajax query is activated
2. Dragging changes the opacity of the item
3. Returned array can be found at the right
4. It is very very easy
Reordeno
1. Once dropped, an Ajax query is activated
5. First Question
3. Returned array can be found at the right
2. Dragging changes the opacity of the item
4. It is very very easy
Recargo
1. Once dropped, an Ajax query is activated
5. First Question
3. Returned array can be found at the right
2. Dragging changes the opacity of the item
4. It is very very easy
Agrego dos items "Second Question" y "Third Question" y recargo
7. Third Question
6. Second Question
1. Once dropped, an Ajax query is activated
5. First Question
3. Returned array can be found at the right
2. Dragging changes the opacity of the item
4. It is very very easy
Asi deberia funcionar?, lo único que ajuste fue en la query en el index.php:
Código SQL:
Ver original$query = "SELECT * FROM records ORDER BY recordListingID ASC, recordId DESC";