Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-154

fn.latestObs and fn.earliestObs return opposite values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: HTML Form Entry 1.7.1
    • Fix Version/s: HTML Form Entry 1.7.2
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      fn.earliestObs seems to be returning the latest observation based off of obs.obs_datetime while fn.latestObs returns the first observation.

      e.g. if I had two observations:
      10-Oct-2010
      03-Mar-2009

      fn.earliestObs would return the object with 10-Oct-2010, while fn.latestObs returns the object with 03-Mar-2009.

        Attachments

          Activity

            People

            • Assignee:
              mseaton Mike Seaton
              Reporter:
              achi@pih.org Andrew Chi [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: