diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index d1bde712e..ac42dfff8 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -27,7 +27,10 @@
});
function remote_function() {
- $("#issue_query_form").submit();
+ if($.trim($("#issue_create_date_end_show").val()) !="" && Date.parse($.trim($("#issue_create_date_end_show").val())) < Date.parse($.trim($("#issue_create_date_start_show").val()))){
+ alert("开始日期不能大于结束日期!");
+ }
+ $("#issue_query_form").submit();
// $.ajax({
// url:'<%#= project_issues_path(@project)%>',
// data:{
diff --git a/config/locales/projects/zh.yml b/config/locales/projects/zh.yml
index 98e13a865..8944fad0c 100644
--- a/config/locales/projects/zh.yml
+++ b/config/locales/projects/zh.yml
@@ -209,7 +209,7 @@ zh:
issue_xls_description: 描述
issue_xls_created_at: 创建时间
issue_xls_tracker_id: 类型
- issue_xls_author: 作者
+ issue_xls_author: 发布人
issue_xls_assign: 指派给
issue_xls_status: 状态
issue_xls_priority: 优先级