Skip to content

sort lists and divs

Here's another stab at this.

  • It uses cores Sortable library to sort views using list and default (undefined) display plugins.
  • I haven't addressed hierarchy and parents so this will only work on views where everything is in a flat list.
  • Still need to figure out how to add a "toggle weights" button like the core tabledrag adds.
  • Ajax auto saving is being addressed in a separate issue #2909491 so although there are references to autosaving in this branch, this patch alone does not autosave.
  • Additionally, I'm not positive that this and #2909491 will both apply together as patches. You may have to manually apply one of them because there are a few lines of code that are added in both patches.

Also I'm trying to figure out how to use issue branches, so If i messed this up, I apologize.

Merge request reports

Loading