search¶
Helper functions to search through a collection of entities
- camelot.view.search.create_entity_search_query_decorator(admin, text)[source]¶
create a query decorator to search through a collection of entities :param admin: the admin interface of the entity :param text: the text to search for :return: a function that can be applied to a query to make the query filter only the objects related to the requested text or None if no such decorator could be build