Re-ordering on any page of a gallery will reorder all pages in the same manipulation. This is because the indexes are based on the field delta which is always 0 to the page limit. This patch uses the column and row info to calculate the offset for the reordering so only the intended media is resorted.

Comments

effulgentsia’s picture

Title: Reordering the media in a paged gallery reorders every page instead of just the current page » Reordering the media in a paged gallery reorders first page instead of current page
Status: Needs review » Fixed

Thanks. Committed. But from my testing and look at the old code, the original bug was slightly incorrectly stated, so changing issue title to the actual bug fixed.

Status: Fixed » Closed (fixed)

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