At the moment there is no way to do something after sort is done - weight are saved.
This simple hook makes it possible.

Comments

pawel_r created an issue. See original summary.

joegraduate’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

Re-rolled version of patch from #1 that should apply cleanly to 7.x-2.x.

joegraduate’s picture

StatusFileSize
new1.89 KB
new1.26 KB

After experimenting with the hook provided in #1 and #2 a bit, it seems to me that an alter hook isn't really what's needed so I'm adding an alternate patch that adds a module_invoke_all() style hook instead.

trumanru’s picture

Status: Needs review » Reviewed & tested by the community
Related issues: +#952948: Integrate with Draggable Views

Works like a charm!

I've Installed it together with https://www.drupal.org/project/views_content_cache/issues/952948
It completely solved my problems in extreme content management project.

Thank you!

Extremelly need it in the main branch!

Thank you @joegraduate!

istryker’s picture

Status: Reviewed & tested by the community » Fixed

Looks good, committed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.