1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-27 04:43:12 +03:00
Ghost/test/regression/api
Kevin Ansfield 35f8042d7b
Added ?search= param to Admin API members endpoint ()
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
..
canary Added ?search= param to Admin API members endpoint () 2020-05-28 10:14:02 +01:00
v2 Moved config from server to shared () 2020-05-27 18:47:53 +01:00
v3 Moved config from server to shared () 2020-05-27 18:47:53 +01:00
admin_spec.js Moved config from server to shared () 2020-05-27 18:47:53 +01:00