tool_filter can get really slow with large databases because it makes the entity_sq query becomes pretty complicated. One way to speed up the filter is to cache the entity ids that pass the filter into a temporary table and then join that table with the original entity_sq.
tool_filter can get really slow with large databases because it makes the entity_sq query becomes pretty complicated. One way to speed up the filter is to cache the entity ids that pass the filter into a temporary table and then join that table with the original entity_sq.