Download & Extend

Sort queues by title in admin list

Project:Nodequeue
Version:7.x-2.x-dev
Component:User interface
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Just a simple patch to sort available queues by title on the nodequeue admin page (admin/content/nodequeue/list). Currently nodequeues are listed in the order they are returned from the db, which *usually* appears to be by qid, but sometimes becomes semi-random.

This might be a candidate for moving deeper into the code, if there's a reason to return a list of queues sorted elsewhere, but I couldn't think of any. Additionally, I considered converting to a sortable table, but couldn't think of any real need to sort on a column besides title.

AttachmentSizeStatusTest resultOperations
nodequeue.sortqueues.patch794 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» needs work

Thanks for another great usability improvement! Actually, I think using the core tablesort functionality could be useful here, mainly for sorting by the # of subqueues. Is that something you could re-roll?

#2

Status:needs work» needs review

As you wish! Attached is a patch that adds the ability to sort on the first three columns.

I also thought about adding another column for nodequeue type (Taxonomy queue, Author queue, etc -- I've written a Node reference queue module I'll be posting soon), but we'd need to add a human-readable name to them (or display "smartqueue_taxonomy" etc). This can always be added later...

AttachmentSizeStatusTest resultOperations
nodequeue.sortqueues-tablesort.patch2.14 KBIgnored: Check issue status.NoneNone

#3

Status:needs review» fixed

Committed. This greatly improves the Node Queue administration screen. Thanks so much for accommodating this feedback!

#4

Status:fixed» closed (fixed)

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