Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1378

History reports end year resets to start year

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • ManifoldCF 2.6
    • ManifoldCF 2.7
    • Framework core
    • 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

          Activity

            People

              kishorekumar Kishore Kumar
              kishorekumar Kishore Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: