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

Consider allowing fish fields to be included in filtering #3

Open
thetron opened this issue Jul 15, 2014 · 0 comments
Open

Consider allowing fish fields to be included in filtering #3

thetron opened this issue Jul 15, 2014 · 0 comments

Comments

@thetron
Copy link
Member

thetron commented Jul 15, 2014

This would need a neat, simple syntax - but might help to enhance functionality of the filtering a little. Filter groups for field filtering could be assigned at filter-time.

.query({
  tags: {...},
  filters: {...},
  filter_fields: {
    field_slugged_something: { 
      value: Fishpond.blank_field  // searches for when the field is blank, we could define a bunch of methods for generic values, perhaps?
      group: 0 // optional group param, should this need to be 'and-ed' against another filterset
    },
  } 
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant