Esri / data-collection-ios

Mobile data collection app using the iOS Runtime SDK.
https://developers.arcgis.com/
Apache License 2.0
25 stars 26 forks source link

Tree condition does not update if inspection date is missing in previous inspection #80

Closed codergrl closed 6 years ago

codergrl commented 6 years ago

Repro scenario:

  1. Add tree
  2. Add inspection, but do not add a date -> tree status changes to that of the new inspection
  3. Add another inspection, with a date -> tree status does not change to reflect the latest inspection
  4. Add a bunch more inspections -> tree condition never updates as long as there is an inspection with a blank date
esreli commented 6 years ago

Sort function assumes the two values provided are dates. Will update.