Skip to content

Add new sort types #528

@jmgasper

Description

@jmgasper

Currently, we can only sort a list of challenges by:

"\"sortBy\" must be one of [updatedBy, updated, createdBy, created, endDate, startDate, projectId, name, typeId, overview.totalPrizes]"

We would also like to be able to sort by the following fields (ascending / descending)

  • Type name (Challenge, F2F, Marathon Match, Practice, etc...)
  • Number of registrants
  • Number of submissions
  • Status name (Active, Post-Mortem, Draft, etc...)

NOTE - The error message above must be accurate as well, after the changes, and updated tests should be included.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions