Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
ManifoldCF 2.6
-
None
Description
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.
simplereport.jsp
<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>
I will commit the fix in few minutes.
Attachments
Issue Links
- is related to
-
CONNECTORS-1343 The selectable years in starttime and endtime of reports should not be hardcoded
- Resolved