Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement $search parameter #20

Open
kbarbounakis opened this issue Mar 27, 2020 · 0 comments
Open

Implement $search parameter #20

kbarbounakis opened this issue Mar 27, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@kbarbounakis
Copy link
Collaborator

kbarbounakis commented Mar 27, 2020

Description
OData v4 specification describes system query option $search which may be used for searching in entity sets. $search should be implemented also alongside other system query options.
http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionsearch

Solution
@themost/web already implements $search parameter in controllers and services. @themost/express serviceRouter should implement $search by using DataQueryable.search() method.

https://github.com/themost-framework/themost/blob/master/modules/%40themost/data/data-queryable.js#L706

@kbarbounakis kbarbounakis added the enhancement New feature or request label Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant