Skip to content

Prefilter is confusing #30

Closed
Closed
@domoritz

Description

@domoritz

I'm very confused by the prefiltering method and would appreciate your help and some improvements to the docs.

  • The grammar is odd. What does it mean to make something prefiltering?
  • The function is not valid js.
  • itemsjs.prefilter is also not defined

It is making items prefiltering before search or aggregation, i.e.:

itemsjs.prefilter(items) {
  return items.filter(item => {
    return item.price > 100;
  });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions