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

filter out supabase query "filter properties", that are of no use to the user/model being filtered (and function/key) #123

Open
4www opened this issue Oct 21, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@4www
Copy link
Contributor

4www commented Oct 21, 2023

No description provided.

@4www 4www added the enhancement New feature or request label Oct 21, 2023
@4www 4www self-assigned this Oct 21, 2023
@oskarrough
Copy link
Contributor

When you currently land on, for example, /explore, you get this query

http://localhost:4000/examples/r4-app/explore?page=1&limit=10&orderBy=created_at

Do you mean that we hide these filters, until they are overwritten?

@4www
Copy link
Contributor Author

4www commented Nov 1, 2023

No i meant for example on the table channels, no need to order_by channel.id or channel.fts

@oskarrough
Copy link
Contributor

Ah ok. How about we in db-schemas.js add a new orderableColumns allowlist?

channels: {
  columns: [],
  selects: [],
  orderableColumns: [] // or "columnsToOrderBy" ?
}

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
Status: filter-search-query-browse
Development

No branches or pull requests

2 participants