Navigation überspringen

[Gelöst] Custom Field Value Update Does Not Update View Filter Options

This support ticket is created vor 6 Monaten. 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.

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von chuckH vor 6 Monaten.

Author
Artikel
#2724870
5-frontend-view.png
4-custom-field.png
3-ajax-refresh.png
2-pagination.png
1-query-filter.png

I am trying to:
Update the list of Grad Year options available in the sidebar filter located on this page:
versteckter Link

The Grad Year field uses the profile-grad-year custom field (field type: select) to filter the list of profiles.

Link to a page where the issue can be seen:
versteckter Link

I expected to see:
I expect the list of sidebar items to reflect the list of profile-grad-year custom field entries in the database.

Instead, I got:
The list of entries visible on the front end sidebar is incomplete. For example, while prole-grad-year = 2020 is visible and selected for some profiles in the backend admin, it is not visible in the front end view.

#2725324

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+00:00)

Screenshot 2024-08-21 at 08.38.45.png

Hi Chuck

Your View has some Query Filters in addition to the front-end filter for graduation year, namely

Profile Status is a string equal to 1
Alumni Group is a string equal to 1

The default setting for the front-end filters is to only show filter options that lead to results. See the screenshot, where I switched to the manual settings and you can see that you can change this to show all possible filter options.

You could change that, and it will add 2020 to the sidebar, for example, but it won't help much inasmuch as if someone selects 2020 it won't find any results.

I'm guessing that your 2020 graduates either don't have Profile Status = 1 or Alumni Group = 1 and so are being excluded from the possible results.

#2726233
view-settings.png

Hi Nigel,
Thanks for the explanation and screenshot. I used the manual settings to specify the following:
Which options to display in the form inputs = Always show all values for inputs

As a result, all of the values are shown along with the corresponding profiles.

The issue is resolved. Thanks again!