From 3f15fc0b525dbae21cdbd57c4b2259c667009fd8 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 14 Sep 2012 13:27:33 +1000 Subject: [PATCH] Set default admin orders view to sort with most recent orders first --- app/views/spree/admin/shared/_tabs.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/views/spree/admin/shared/_tabs.html.erb diff --git a/app/views/spree/admin/shared/_tabs.html.erb b/app/views/spree/admin/shared/_tabs.html.erb new file mode 100644 index 0000000000..71eec3fb97 --- /dev/null +++ b/app/views/spree/admin/shared/_tabs.html.erb @@ -0,0 +1,6 @@ +<%= tab :overview, :route => :admin %> +<%= tab :orders, :payments, :creditcard_payments, :shipments, :creditcards, :return_authorizations, {:url => admin_orders_path('q[s]' => 'completed_at desc')} %> +<%= tab :products , :option_types, :properties, :prototypes, :variants, :product_properties, :taxons %> +<%= tab :reports %> +<%= tab :configurations, :general_settings, :mail_methods, :tax_categories, :zones, :states, :payment_methods, :inventory_settings, :taxonomies, :shipping_methods, :trackers, :label => 'configuration' %> +<%= tab :users %>