Checking the box doesnt reverse the order.

To fix:

in userqueue.pages.inc in the function userqueue_arrange_subqueue_form i added

  // Theme function needs these.
  $form['users']['#queue'] = (array) $queue;
  
  // <--- ADDED THIS BIT --->
  if ($queue->reverse == 1) {
    $users = array_reverse($users, true);
  }

  foreach ($users as $account) {

Comments

tinny’s picture

Scrap that fix. It doesnt work.

gaurav.kapoor’s picture

Issue summary: View changes
StatusFileSize
new548 bytes

Now the queue is displayed in reverse , if checkbox is ticked while creating queue.

gaurav.kapoor’s picture

Assigned: Unassigned » opensense
Status: Active » Needs review
opensense’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

opensense’s picture

opensense’s picture