svn commit: r1759148 - /ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1759148 - /ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy

ashish-18
Author: ashish
Date: Sun Sep  4 06:44:37 2016
New Revision: 1759148

URL: http://svn.apache.org/viewvc?rev=1759148&view=rev
Log:
Applied patch from jira issue - OFBIZ-8073 - Clean up commented out code in Groovy for WorkEffort. Thanks Aman for the contribution.

Modified:
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy?rev=1759148&r1=1759147&r2=1759148&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy Sun Sep  4 06:44:37 2016
@@ -28,7 +28,6 @@ if (!"AND".equals(searchOperator) && !"O
 //create the fromDate for calendar
 fromCal = Calendar.getInstance();
 fromCal.setTime(new java.util.Date());
-//fromCal.set(Calendar.DAY_OF_WEEK, fromCal.getActualMinimum(Calendar.DAY_OF_WEEK));
 fromCal.set(Calendar.HOUR_OF_DAY, fromCal.getActualMinimum(Calendar.HOUR_OF_DAY));
 fromCal.set(Calendar.MINUTE, fromCal.getActualMinimum(Calendar.MINUTE));
 fromCal.set(Calendar.SECOND, fromCal.getActualMinimum(Calendar.SECOND));
@@ -41,7 +40,6 @@ context.put("fromDateStr", fromStr);
 // create the thruDate for calendar
 toCal = Calendar.getInstance();
 toCal.setTime(new java.util.Date());
-//toCal.set(Calendar.DAY_OF_WEEK, toCal.getActualMaximum(Calendar.DAY_OF_WEEK));
 toCal.set(Calendar.HOUR_OF_DAY, toCal.getActualMaximum(Calendar.HOUR_OF_DAY));
 toCal.set(Calendar.MINUTE, toCal.getActualMaximum(Calendar.MINUTE));
 toCal.set(Calendar.SECOND, toCal.getActualMaximum(Calendar.SECOND));