[wp-trac] [WordPress Trac] #22608: When editing a [gallery], menu_order sorting should be used

WordPress Trac noreply at wordpress.org
Tue Nov 27 21:55:35 UTC 2012


#22608: When editing a [gallery], menu_order sorting should be used
-------------------------------------+--------------------------
 Reporter:  nacin                    |       Owner:  koopersmith
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  3.5
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------------
Changes (by koopersmith):

 * keywords:   => has-patch needs-testing


Comment:

 Patch adds capability to sort queries by `menu_order ID` by adding the
 `menuOrder` property to `Attachment` models. Any gallery that does not
 specify any `ids` and does not specify a different `orderby` attribute
 will use menu order sorting by default. Also, the "uploaded to this post"
 filter is now sorted by menu order.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22608#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list