Skip to content

Fix a bug where an invalid sort param value was passed to Gitaly

What does this MR do?

Translate name_asc to name as the sorting parameter to match gitaly-proto sort enum values. Includes a fix to a related feature spec that wasn't catching this error.

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

500 errors were being raised in production because of this.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34280 (closed)

Merge request reports

Loading