Sort allowed node types by display name, not internal name

joshuajabbour - September 9, 2008 - 20:20
Project:Nodequeue
Version:6.x-2.0-rc2
Component:User interface
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

The attached patch updates the Nodequeue UI, changing the sort order of the list of allowed node types for a queue.
Currently the list of node types is sorted by the internal, machine-readable name. With this patch, the list is sorted by the human-readable display name, so the list appears in the correct (visual) order.

AttachmentSize
nodequeue-typesortorder.patch350 bytes

#1

joshuajabbour - September 9, 2008 - 20:26

Patch applied backwards...

AttachmentSize
nodequeue-typesortorder-fixed.patch 375 bytes

#2

ezra-g - September 23, 2008 - 18:35
Status:needs review» fixed

Good call. Committed to Drupal 6 and 5 branches. Thanks!

#3

Anonymous (not verified) - October 7, 2008 - 18:43
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.