Skip to content

Allow billable member sorting by last activity

Vijay Hawoldar requested to merge vij-sort-members-by-activity into master

What does this MR do?

As discussed in #330055 (closed), we are going to allow sorting of billable members within the Seat Usage view by the member last_activity_on attribute.

This MR is the backend changes neccessary to support that effort by adding the attribute to the sorting helper for the REST API.

Testing

curl --request GET \
  --url 'http://127.0.0.1:3000/api/v4/groups/:id/billable_members?sort=last_activity_on_asc' \
  --header 'PRIVATE-TOKEN: <access token>'

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports

Loading