Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
Sorting Order of List
Overview
You can sort the list view based on the field defined in the ‘orderBy' section. The 'direction’ will let you decide whether you want to sort it in ascending or descending order.
Default Configuration
The default order is as below
Participant list page - Descending order based on registration date and participant ID
"orderBy": [ { "expr": "Participant.regDate", "direction": "desc" }, { "expr": "Participant.id", "direction": "desc" } ]Specimen list view - Descending order based on the creation date
"orderBy": [ { "expr": "Specimen.createdOn", "direction": "desc" } ]
Custom Configuration
Provided below is an example JSON code for sorting the list based on the specimen location.
Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com