From a335b840359b17dd2f2e2e1a8a19adcd36b1283c Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 3 Dec 2012 16:06:17 -0800 Subject: Ticket sorting functionality. Needs to be refactored, but works. --- help/app/views/tickets/_admin-nav.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help/app/views/tickets/_admin-nav.html.haml') diff --git a/help/app/views/tickets/_admin-nav.html.haml b/help/app/views/tickets/_admin-nav.html.haml index 055485d..0e45c40 100644 --- a/help/app/views/tickets/_admin-nav.html.haml +++ b/help/app/views/tickets/_admin-nav.html.haml @@ -1,5 +1,5 @@ %ul.nav.nav-pills.nav-stacked %li{:class => ("active" if admin == 'mine')} - = link_to 'tickets i admin', {:admin_status => 'mine', :open_status => status} + = link_to 'tickets i admin', {:admin_status => 'mine', :open_status => status, :sort_order => order} %li{:class => ("active" if admin == 'all')} - = link_to 'all tickets', {:admin_status => 'all', :open_status => status} + = link_to 'all tickets', {:admin_status => 'all', :open_status => status, :sort_order => order} -- cgit v1.2.3