[PATCH] BZ859402 fix translation issue with select_date if order is not given
tzumainn at redhat.com
tzumainn at redhat.com
Fri Sep 21 14:28:39 UTC 2012
From: Tzu-Mainn Chen <tzumainn at redhat.com>
---
src/app/views/providers/index.html.haml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/views/providers/index.html.haml b/src/app/views/providers/index.html.haml
index be644b0..b16033f 100644
--- a/src/app/views/providers/index.html.haml
+++ b/src/app/views/providers/index.html.haml
@@ -11,9 +11,9 @@
%li
= hidden_field_tag :current_path, request.fullpath
= t('filter_table.from')
- = select_date @from_date, :prefix => :from_date
+ = select_date @from_date, :prefix => :from_date, :order => [:year, :month, :day]
= t('filter_table.to')
- = select_date @to_date, :prefix => :to_date
+ = select_date @to_date, :prefix => :to_date, :order => [:year, :month, :day]
= restful_submit_tag t("filter_table.apply_filters"), "index", filter_providers_path, 'POST', :class => 'button', :id => 'apply_provider_index_filter'
%span.label.badge.dark= @providers.count
= filter_table(@header, @providers) do |provider|
--
1.7.6.5
More information about the aeolus-devel
mailing list