Skip to content

Commit

Permalink
fix: update accepted sort order dec -> desc
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed May 19, 2021
1 parent a02943e commit cd53fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func isSortField(f string) bool {

func isSortOrder(f string) bool {
switch f {
case "asc", "dec":
case "asc", "desc":
return true
}
return false
Expand Down

0 comments on commit cd53fe4

Please sign in to comment.