Skip Navigation

[Resolved] filter doesn’t work

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user's filters don't work.

Solution:

In this case the user had 2 separate views. The first view had a map and the second view had the list of posts but only the first view was filtering.

In this case I would recommend adding the contents of the 2nd view to the first since both views were displaying the same information.

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 18 replies, has 2 voices.

Last updated by Leonardo 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1087510

Hello,
why if I check a checkbox on the filter of view doesn't work?
thi is the code of view:

[wpv-filter-start hide="false"]
[wpv-filter-controls]

<div class="list">

RISTORANTI: [wpv-control-post-taxonomy taxonomy="tipo-di-ristoranti" type="checkboxes" format="%%NAME%%: %%COUNT%%" url_param="wpv-tipo-di-ristoranti"] -

TOUR: [wpv-control-post-taxonomy taxonomy="tour-type" type="checkboxes" format="%%NAME%%: %%COUNT%%" url_param="wpv-tour-type"]

</div>
[/wpv-filter-controls]

[wpv-filter-end]

#1087550

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Thank you for contacting our support forum.

Could you send me a link to this on the frontend so that I can have a look ?

Thanks,
Shane

#1087621

sure!
hidden link

regards

#1087624

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

The filter works and the map adjusts but the posts under doesn't adjust.

Would you mind allowing me to have admin access to the website to have a deeper look at this one for you ?

The private fields have been enabled for your next response.

Thanks,
Shane

#1088442

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

Ok so i checked this for you.

So the view is working as intended, there is no issue. The problem here is that you have different view that is displaying the restaurant table.

Now the filters will only affect the view that it was created in. What I recommend that you do is to combine both views into 1 where the view with the map also lists the table so that can be filtered as well.

Thanks,
Shane

#1089435

Hello Can you give me any advice? how can I do it?

#1089517

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

If you take a look at the view here: hidden link

You can see all i did was to add the contents from the table view to this view.

Thanks,
Shane

#1091163

hello,
thanks but i doesn't work when you choose restaurant option. for right view I have to see just one restaurant, but the filter doesn't work
regards
L.

#1091352

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

This was because of the missing filter.

It should now be working.

Thanks,
Shane

#1091907

Hello, thanks a lot,
after checked the restaurant's checkbox, is it possibile to see the other tour's checkboxs , now they disappear.
regards
is it possibile an filter taxonomy="tour-type + tipo-di-ristoranti"
Leonardo

#1093117

Hello, please can you help me with this filter?

regards

#1093121

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-08-27 at 10.30.14 AM.png

Hi Marco,

Sorry for the delay, our forums are generally closed on the weekends.

Taking a look at this for you the reason why this is happening is because you have enable the "Show only the options available for each input" setting for the view filters. See Screenshot.

If you were to select the "Always show all input values" then the other filters should appear.

Thanks,
Shane

#1093192

thanks a lot , but I meant filters "AND" and not "OR"
please can you tell me how can I require the position of my visitors to lead them, by google map, to destination on the page of the tour?
I know just the code for marker:
[wpv-map-marker map_id='map-8' marker_id='marker-3' marker_title='your position' map_render='immediate' current_visitor_location='true'][/wpv-map-marker]

please can you tell me what means : "focus on the marker" because if I push the button "focus on the marker" nothing happen

regards
Leonardo

#1093207

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Marco,

I checked this again for you and it seems that it is already set to an AND relationship instead of an OR.

Thanks,
Shane

#1093727

Hi Shane,
I am terrible sorry, I meant "OR" and not "AND"

please can you tell me how can I require the position of my visitors to lead them by google map to destination on the tour's page?
I know just the code for marker in view like "solomappa" but I don't know how I can add it in custom field of restaurants an tours page :
[wpv-map-marker map_id='map-8' marker_id='marker-3' marker_title='your position' map_render='immediate' current_visitor_location='true'][/wpv-map-marker]

please can you tell me what means : "focus on the marker" because if I push the button "focus on the marker" nothing happen

regards