Ghost/core/server/models/plugins
Naz 7326241718 🐛 Fixed server error for repeated order query parameter
closes #12263

- Express parses repeated query parameters as an array (req.query properties). Because there is no clear reason on why not to support this behavior extended order parameter parsing logic to handle arrays. This follows the rule of "liberal inputs, conservative outputs"
- Example supported query string for ordering can now look like: `?order=featured&order=published_at asc`, the priority of the order stays the same with the most significant appearing first and least significant last
2020-11-03 00:15:24 +13:00
..
collision.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
custom-query.js Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
eager-load.js Added support for ordering Post API resources by fields coming form posts_meta table (#12226) 2020-09-24 13:32:40 +12:00
filter.js 🐛 Fixed post resource filtering by posts_meta table fields (#12307) 2020-11-02 12:53:57 +13:00
has-posts.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
include-count.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
index.js Added support for ordering Post API resources by fields coming form posts_meta table (#12226) 2020-09-24 13:32:40 +12:00
order.js 🐛 Fixed server error for repeated order query parameter 2020-11-03 00:15:24 +13:00
pagination.js Fixed "no-shadow" linting error in server modules (#12287) 2020-10-20 12:02:56 +13:00
search.js Added ?search= param to Admin API members endpoint (#11854) 2020-05-28 10:14:02 +01:00
transaction-events.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00