Skip to content

feat(events-api): add sorting by date descending

Sabine Maennel requested to merge audit-trail-sort-by-date into develop

This PR fixes the issue: #150 (closed)

The sort option is added to the Find in Mongo DB as an argument. The controller method sets this new parameter to a sort by created_at data descending.

In the future the sorting could be exposed as parameter in the api, but for now the api interface is kept as is.

Edited by Sabine Maennel

Merge request reports