Ghost/core/server/models/plugins
Kevin Ansfield 35f8042d7b
Added ?search= param to Admin API members endpoint (#11854)
no issue

- adds `search` bookshelf plugin that calls out to an optional `searchQuery()` method on individual models to apply model-specific SQL conditions to queries
- updated the base model's `findPage()` method to use the search plugin within `findPage` calls
- added a `searchQuery` method to the `member` model that performs a basic `LIKE %query%` for both `name` and `email` columns
- allowed the `?search=` parameter to pass through in the `options` object for member browse requests
2020-05-28 10:14:02 +01:00
..
collision.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
filter.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01: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 ?search= param to Admin API members endpoint (#11854) 2020-05-28 10:14:02 +01:00
pagination.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01: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