Ghost/core
Nazar Gargol 84c8bcc457 Extracted ordering into separate bookshelf plugin
refs #11729

- Having a plugin allows to reason about ordering better and gives way
to further extraction away form the core.
- Just like with filtering, ordering falls into similar category of having effect on knex'es query builder object extension through additional statements - ORDER BY in this case.
- Because there were bugs associated with use of permittedAttributes inside of `parseOrderOption` method, introduced separate `orderAttributes` function which returns only those fields which are orderable (https://github.com/TryGhost/Ghost/issues/11729#issuecomment-685740836)
2020-09-22 16:27:12 +12:00
..
client@0650518bcd Updated Ghost-Admin to v3.33.0 2020-09-14 12:39:47 +01:00
frontend Removed unmatched closing span tag on AMP pages (#12183) 2020-09-21 12:53:27 +12:00
server Extracted ordering into separate bookshelf plugin 2020-09-22 16:27:12 +12:00
shared Added support for Stripe promo codes in config (#12149) 2020-09-21 13:15:41 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00