[wp-trac] [WordPress Trac] #30640: Order/sort of attachments logic

WordPress Trac noreply at wordpress.org
Tue Dec 9 09:46:41 UTC 2014


#30640: Order/sort of attachments logic
--------------------------+-----------------------------
 Reporter:  Stagger Lee   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.0.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Sorry for making this as "defect", other 2 options doesnt seems right here
 too.

 I explained everything here in detail.

 https://wordpress.org/support/topic/media-manager-shuffle-images-all-the-
 time?replies=10#post-6310991

 Now, i just ask for some explanation why it is such logic and why such
 behaviour ?

 Some C/P from this topic:

 ---------------------------------------------------------------------------


 - My images are named as _DSCXXX.

 - I upload say 200 images from one party at once, no errors, all went
 fine.
 (number of images is not relevant here, I just use pagination for multiple
 galleries per post)

 - I uppload them in the post, they are ordered OK after logic. Last
 uploaded is at the top, it means my last at the bottom of Windows Explorer
 window. So long logic is respected.

 - I preview images in "All media items", they are shown nice, as it was
 upload order.

 And now comes hell.

 - "Uploaded to this post" cannot keep same logic as "All media items".

 - Even if I naive tought i could use only "All media items" for building
 galleries, in my sight (view) i check images and all seems OK, but as soon
 i make gallery they are again randomized.

 It is not classic random functions, rows seems to keep upload order, but
 they are shifted.
 So you have say 3 rows from end at the beginning, 3 rows from beginning at
 the end, rows in the middle are shifted to. Abosultely no logic in this
 sorting.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30640>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list