getodk / aggregate

ODK Aggregate is a Java server that stores, analyzes, and presents survey data collected using ODK Collect. Contribute and make the world a better place! ✨🗄✨
https://docs.opendatakit.org/aggregate-intro/
Other
74 stars 227 forks source link

Can't filter by temporal metadata fields #360

Closed ggalmazor closed 5 years ago

ggalmazor commented 5 years ago

Software and hardware versions

Aggregate v2.x

Problem description

After the ISO 8601 adaptations, where temporal fields started to behave like GEOPOINT fields (data persisted as multiple columns), these filters no longer work, since they don't have a backing data model.

Steps to reproduce the problem

Filter by submission date or "date marked as complete"

Expected behavior

Filtering submissions with these fields should work like any other temporal fields.

Other information

QueryBase.addFilterChildren() fails to attr.getFormDataModel().getChildren() because attr.getFormDataModel() is null.

ggalmazor commented 5 years ago

Closed by #365