Skip to content

Handle legacy sort order values

What does this MR do?

Convert the legacy sort order values id_asc / id_desc into the ones we use now, created_at / created_desc, to stop the dropdown being blank.

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

Although the spec uses the URL, this works the same way as the cookies did - and we need to fix both cases anyway.

Why was this MR needed?

Blank dropdown text? Absurd!

What are the relevant issue numbers?

Closes #21028 (closed).

Screenshots (if relevant)

I guess?

image

Does this MR meet the acceptance criteria?

Merge request reports