Ghost/ghost/bookshelf-repository
Simon Backx f566729ed6
Fixed recommendation order (#18060)
fixes https://github.com/TryGhost/Product/issues/3851

- Order was not applied via the CRUD plugin
- Removed usage of CRUD findAll, and swapped to Bookshelf fetchAll
instead, to decrease dependencies of invisible Bookshelf plugins logic
- Reverted page and limit options possibility via findAll method
2023-09-11 11:04:34 +00:00
..
src Fixed recommendation order (#18060) 2023-09-11 11:04:34 +00:00
test Fixed recommendation order (#18060) 2023-09-11 11:04:34 +00:00
.eslintrc.js Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
package.json Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
README.md Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
tsconfig.json Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00

Bookshelf Repository

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests