Created by: livedo
BaseDashboard
offers a clear easily overrideable interface for customizing which attributes are used for the index, show, and edit/update actions in #collection_attributes
, #show_page_attributes
and #form_attributes
, respectively. This PR brings search into the same pattern and adds BaseDashboard#search_attributes
allowing the dashboard customizer to easily change the logic which is used for filtering attributes for searching.
A typical use case might entail implementing an app-specific field option and using that to customize the field filtering.