Skip to content

Commit

Permalink
馃悰Fixed order being ignored in routes.yaml file (#10146)
Browse files Browse the repository at this point in the history
no issue
  • Loading branch information
cotko authored and kirrg001 committed Nov 12, 2018
1 parent f3e9218 commit 002a135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/services/settings/validate.js
Expand Up @@ -77,7 +77,7 @@ _private.validateData = function validateData(object) {
type: ['read', 'browse'],
resource: _.map(RESOURCE_CONFIG.QUERY, 'resource')
};
const allowedQueryOptions = ['limit', 'filter', 'include', 'slug', 'visibility', 'status'];
const allowedQueryOptions = ['limit', 'order', 'filter', 'include', 'slug', 'visibility', 'status'];
const allowedRouterOptions = ['redirect', 'slug'];
const defaultRouterOptions = {
redirect: true
Expand Down

0 comments on commit 002a135

Please sign in to comment.