Trying to add an href filter containing URL path (/admin/sites/*/courses/42400-example-course), but it’s returning 0 results, when I use a wildcard (% or *), but when I search a specific path (/admin/sites/56306/courses/42400-example-course), it returns results. What am I doing wrong?
ee/clickhouse/models/action.py
from typing import Dict, List, Set, Tuple
from django.forms.models import model_to_dict
from posthog.constants import AUTOCAPTURE_EVENT, TREND_FILTER_TYPE_ACTIONS
from posthog.models import Action, Entity, Filter
from posthog.models.action_step import ActionStep
from posthog.models.property import Property, PropertyName, PropertyType
def format_action_filter(
    action: Action, prepend: str = "action", use_loop: bool = False, filter_by_team=True, table_name: str = ""
) -> Tuple[str, Dict]:
    
    params = {"team_id": action.team.pk} if filter_by_team else {}
    steps = action.steps.all()
    if len(steps) == 0:
        
        return "1=2", {}
    or_queries = []
    for index, step in enumerate(steps):
        conditions: List[str] = []
        
        if step.event == AUTOCAPTURE_EVENT: