Skip Navigation

[Resolved] Split: First View filters applied to second View on page

This support ticket is created 6 years, 11 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by Christian Cox 6 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#608318

Hi again.
Please keep in mind the second point of the issue: the view just includes by proximity a subset of items, filtered by the first view, instead of using ALL items. Thanks again!

#608319

Hi, I have created a second ticket to address issue #2. We try to answer one question per ticket in the forums, so I hope you understand. We can keep things more organized this way and help other users find answers to similar problems.

Your comments from the original ticket follow:

I am trying to: Filter the second view by querying user's location

Link to a page where the issue can be seen: hidden link

I expected to see: The second view (filtered by location) filtering results between ALL stores instead of comparing the radio distance between looped items only.

Instead, I got: The second view is only listing as results the posts that are included in the loop above, rather then comparing the radio distance between all the stores (posts in the post_type Dealers).

#608378

Hi, let's analyze this URL:
hidden link

- For now, let's disregard the issue with duplicate filters.
- I have spoofed the User Location of Adel, Georgia by modifying the latitude and longitude coordinates in the URL (31.137502,
-83.437597). I have also applied search filters to select "Dealer", "USA", "Florida", and "Kissimmee".
- In the STORES SEARCH RESULTS section, I see one Dealer - Addison's - in Kissimmee. This seems to be correct.
- In the NEAREST STORES ACCORDING TO YOUR SEARCH section, no stores are found. This is because Addison in Kissimmee is not a child of any State. If you select "Florida" as Addison's State parent, it will begin to appear in these results. Your View's Query Filter is configured to show posts that are children of a State, which is responsible for this behavior:
hidden link
- In the NEAREST STORES ACCORDING TO YOUR LOCATION section, the Adel Outfitters Dealer in Adel, GA is displayed. This seems to be correct.

Can you let me know what's wrong here, in your opinion? Or is there another URL I can test to see other symptoms of the problem?