Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

Customize how data is searched

As the application developer you can customize how end users can search for data.

Excluding a database model from site-wide searches

If you want a given model to never occur in the site-wide search window, then you can set its Model.show_in_site_search to False.

class lino.core.model.Model
show_in_site_search = True

Whether this model is to be included in the site-wide search window.