[ https://issues.apache.org/jira/browse/CONNECTORS-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15870258#comment-15870258 ]
Kishore Kumar commented on CONNECTORS-1378: ------------------------------------------- r1783246 (trunk) > History reports end year resets to start year > --------------------------------------------- > > Key: CONNECTORS-1378 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1378 > Project: ManifoldCF > Issue Type: Bug > Components: Framework core > Affects Versions: ManifoldCF 2.6 > Reporter: Kishore Kumar > Assignee: Kishore Kumar > Priority: Minor > > Hi, > The end time *_year_* of all the four history reports resets to start time > year. This is because of a typo in the jsp page, where startYear is used > instead of endYear. > {code:title=simplereport.jsp|borderStyle=solid} > <select class="schedulepulldown" name='reportendyear' size="3"> > <option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- > <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"simplereport.NotSpecified")%> > --</option> > <% for(int year=2005; year <= > java.util.Calendar.getInstance().get(java.util.Calendar.YEAR); year++) { > String selected = > (startYear.equals(""+year))?"selected=\"selected\"":""; %> > <option value="<%= year %>" <%= selected %>><%= year %></option> > <% } %> > </select> > {code} > I will commit the fix in few minutes. -- This message was sent by Atlassian JIRA (v6.3.15#6346)