0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server
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
..
adapters Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
api Added ?search= param to Admin API members endpoint (#11854) 2020-05-28 10:14:02 +01:00
data Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
lib Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
models Added ?search= param to Admin API members endpoint (#11854) 2020-05-28 10:14:02 +01:00
public Renamed members ssr + api endpoints 2020-04-30 19:00:37 +01:00
services Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
translations Improved password reset and session invalidation for "locked" users (#11790) 2020-05-05 19:37:53 +01:00
views
web Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
analytics-events.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
ghost-server.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
index.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
overrides.js
update-check.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00