Make WordPress Core

Opened 14 years ago

Closed 11 years ago

#12055 closed defect (bug) (duplicate)

Gallery sorting in large galleries

Reported by: jrocho's profile jrocho Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9.1
Component: Gallery Keywords:
Focuses: Cc:


The sorting in large galleries seems to be broken. In a gallery with more than 40 images the sorting only works for about the first 20 images.

When a user tries to sort images (lets say move image 20 before image 19) using drag and drop or by manipulating the number in the textfield to the images it works as expected and the new sorting is stored after saving it. When image 40 or so is moved before 39 it seems to work, but after saving the old sort order is restored.

I have tested an verified this problem on two wordpress installations.

Change History (5)

#1 @nacin
14 years ago

  • Milestone changed from Unassigned to 3.0

Setting to 3.0 for now but will probably be moved to 3.1.

#2 @dd32
14 years ago

  • Keywords needs-patch added; sorting gallery removed
  • Milestone changed from 3.0 to 3.1

Since this is a scaling issue, and theres no patch, i'm bumping it to 3.1 for now.

If someone comes along and can supply a patch rather soon that fixes it, it can be reconsidered for 3.0.

#3 @nacin
13 years ago

  • Keywords close added
  • Milestone changed from Awaiting Triage to Future Release

Related to #11265? Duplicate?

#4 @obenland
12 years ago

Just encountered the same problem.

Gallery of 399 pics, only the first 125 get added to $_POST['attachments']. Menu order of the first 101 pics are accurate, after that pics have the same menu order numbers, from 102 - 125.

Now I'm wondering why only the first 125 pics get added to $_POST....

#5 @ocean90
11 years ago

  • Keywords needs-patch close removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.