Skip to content

Commit

Permalink
fix order_by filter
Browse files Browse the repository at this point in the history
  • Loading branch information
bertt committed Jan 16, 2018
1 parent 4ff2a76 commit a6b360d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensorthings/odata/queryvalidator.go
Expand Up @@ -5,7 +5,7 @@ import (
)

func partHasKeyword(part string) bool {
keywords := []string{"$filter", "$select", "$expand", "$order_by", "$top", "$skip", "$count"}
keywords := []string{"$filter", "$select", "$expand", "$orderby", "$top", "$skip", "$count"}
part1 := strings.Split(part, "=")[0]

for _, kw := range keywords {
Expand Down

0 comments on commit a6b360d

Please sign in to comment.