Skip to content

Commit

Permalink
Merge pull request #926 from justinkekeocha/patch-2
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
freekmurze authored Feb 23, 2024
2 parents 669fcfd + 8e0b676 commit 005db46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features/sorting.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 2

The `sort` query parameter is used to determine by which property the results collection will be ordered. Sorting is ascending by default and can be reversed by adding a hyphen (`-`) to the start of the property name.

All sorts have to be explicitly allowed by passing an array to the `allowedSorts()` method. The `allowedSorts` method takes an array of column names as strings or instances of `AllowedSorts`s.
All sorts have to be explicitly allowed by passing an array to the `allowedSorts()` method. The `allowedSorts` method takes an array of column names as strings or instances of `AllowedSorts`.

For more advanced use cases, [custom sorts](#content-custom-sorts) can be used.

Expand Down

0 comments on commit 005db46

Please sign in to comment.