rokwire / surveys-building-block

Building Block that manages surveys in the Rokwire Platform.
Apache License 2.0
0 stars 1 forks source link

[ID-64] #65

Closed stefanvit closed 2 months ago

stefanvit commented 2 months ago

Description

Sort Order when showing all (public) surveys

1.1.1 Incompleted Surveys show first using survey end datetime and showing them in oldest to newest order. In other words the order is by what expires next onwards.

1.1.2 After listing surveys that meet the criteria in 1.1.1 above, next show uncompleted Surveys that never expire (do not have an end datetime). These would use start datetime and if missing creation datetime from newest to oldest.

1.1.3 Finally, show anything Completed is always shown at the bottom of the list using completion date time and from most recent to oldest.

**Resolves #64

Type of changes

Checklist: