grav-plugin-flex-objects icon indicating copy to clipboard operation
grav-plugin-flex-objects copied to clipboard

Pages: Add options to select custom search fields

Open mahagr opened this issue 4 years ago • 2 comments

It would be nice to be able to override the default search and search by content for example.

The logic already exists to do this, we just need to update both js and task to take in the custom set of fields.

mahagr avatar May 27 '21 10:05 mahagr

Tell me about the logic that already exists.

w00fz avatar May 27 '21 20:05 w00fz

I mean that flex objects already support custom searches to any field by just providing an array of the fields to the search() method. So we just need to add the UI and pass the search fields to the method in the controller.

mahagr avatar May 28 '21 06:05 mahagr