fix(requestlist): use default value of sort direction only if valid (#1174)

The Sort Direction was loaded with values from the localStorage, but `undefined` was assigned if no
previous Sort Direction existed, causing the client to send undefined as a string for the Sort
Direction.

fix #1147
This commit is contained in:
Gauthier
2024-12-22 05:56:22 +01:00
committed by GitHub
parent 13d15d1dcf
commit 59c22ccc08
2 changed files with 4 additions and 1 deletions

View File

@@ -5448,6 +5448,7 @@ paths:
schema:
type: string
enum: [asc, desc]
nullable: true
default: desc
- in: query
name: requestedBy