Search

Deprecated v0.2.27

This is now deprecated. To implement a search box, create a Filter

To enable search for a crud type, add this to the crud file:

->searchable(true)

By default this will try to search the name attribute. You can search other fields instead:

->searchable(['username', 'email'])

To search on columns in related tables you will first need to join another table, e.g.

See Index Scopes