ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject [1/2] ranger git commit: RANGER-1391:Error occurred when use EndDate as Search Filter in Audit Access WebPage
Date Mon, 20 Feb 2017 05:56:13 GMT
Repository: ranger
Updated Branches:
  refs/heads/ranger-0.7 869c723f1 -> 5eb030ada


RANGER-1391:Error occurred when use EndDate as Search Filter in Audit Access WebPage

Signed-off-by: Selvamohan Neethiraj <sneethir@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/06005ca3
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/06005ca3
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/06005ca3

Branch: refs/heads/ranger-0.7
Commit: 06005ca39b12bde4042804bf538ab855507c983f
Parents: 869c723
Author: zhangqiang2 <zhangqiang2@zte.com.cn>
Authored: Fri Feb 17 15:48:24 2017 +0800
Committer: Selvamohan Neethiraj <sneethir@apache.org>
Committed: Mon Feb 20 00:33:47 2017 -0500

----------------------------------------------------------------------
 security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/06005ca3/security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java b/security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java
index e0ab372..a851c3e 100644
--- a/security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java
+++ b/security-admin/src/main/java/org/apache/ranger/solr/SolrUtil.java
@@ -117,6 +117,7 @@ public class SolrUtil {
 						} else if (searchField.getSearchType() == SEARCH_TYPE.LESS_EQUAL_THAN
 								|| searchField.getSearchType() == SEARCH_TYPE.LESS_THAN) {
 							toDate = (Date) paramValue;
+							dateFieldName = fieldName;
 						}
 					}
 				} else if (searchField.getSearchType() == SEARCH_TYPE.GREATER_EQUAL_THAN


Mime
View raw message