mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
7326241718
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 |
||
---|---|---|
.. | ||
collision.js | ||
custom-query.js | ||
eager-load.js | ||
filter.js | ||
has-posts.js | ||
include-count.js | ||
index.js | ||
order.js | ||
pagination.js | ||
search.js | ||
transaction-events.js |