Help Desk

No funciona el filtro por provincias

  • Posts: 201 Topics: 88
    | Permalink

    Hola:

    Necesito una url corta que muestre los eventos de una determinada provincia, pero por ejemplo si selecciono Málaga. Solo aparecen los eventos destacados y el resto de los eventos no aparecen.

    https://pueblosblancos.soy/malaga

    Saludos
    Antonio Ortiz

    Posts: 4384 Topics: 2
    | Permalink

    Hola Antonio

    With the help of our friend, Google Translate, this is what I got from you:

    “I need a short url that shows the events of a certain province, for example if I select Malaga. Only the featured events appear and the rest of the events do not appear.”

    I have checked the short url you shared and it gave me all events. It redirected me to this URL:

    https://pueblosblancos.soy/eventos/map/?action=tribe_geosearch&tribe_paged=1&tribe_event_display=map&featured=false&tribe_state=249-391-420-484-514-525-529-568-572-672-673-768-851-924-934-977-990-1059-1064-1065-1069-1071-1073-1074-1075-1077-1078-1079-1080-1081-1082-1083-1085-1086-1087-1236-1259-2186-2198-2216-2240-2246-2248-2271-2275-2280-2304-2502-2572-2592-2603-2643-2653-2663-2669-3005-3247-3254-3392-3446-3456-3524-3565-3571-3587-3602-3620-3669-3670-3762-3993-4032-4107-4178-4898-5464-5489-6063-6070-6138-6154-6535-6624-6707-7179-7294-7297-7333-8549-25351-25897-26496-26685-27088-27264-27291-27343-27363-27462-27478-27494-27545-27573-27684-28007-28390-30067-30686-31985-35809-36454-37758-38618-39593-44967-46284-56826-206508-208193-209938-210653-211364-211370-211750-212821

    And this is the result I got: screenshot.

    When I click the ‘Featured events / Eventos Destacados” in the Filter Bar, then I get the featured ones in blue.

    So this part works fine. Can you confirm this?

    For me the problem comes when I unclick “Eventos Destacados”, because it will still only show the featured events.

    Andras

    Posts: 201 Topics: 88
    | Permalink

    Hello András:

    I discovered that the problem appears when we change between provinces. If you click on the link, the filter opens with Málaga. But if you then change to Cádiz, nothing appears. And if you then return to Malaga, only the featured elements appear.

    Even if you filter the filters, the events no longer appear correctly.

    Regards,
    Antonio Ortiz

    Posts: 4384 Topics: 2
    | Permalink

    That is really weird. Not sure why that is happening.

    It looks like when you first go to the page then the url has “featured=false” in it.

    Once you change the Provincia filter, that changes to “featured=true” and stays like that no matter what you do.

    It looks like you have a redirect set up for

    https://pueblosblancos.soy/malaga

    which takes you to

    https://pueblosblancos.soy/eventos/map/?action=tribe_geosearch&tribe_paged=1&tribe_event_display=map&featured=false&tribe_state=249-bla-bla-bla

    Can you set up the redirect so that the target URL doesn’t contain the “&featured=false” part? I tested browsing around with that and seemed to work fine.

    Andras

    Posts: 4
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    | Permalink

The topic ‘No funciona el filtro por provincias’ is closed to new replies.