[Résolu] I'm trying to make a view that only shows past events.
This support ticket is created Il y a 1 année et 3 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Do you mean you selected the difference date and it just show the different selected date and does not refresh the view result? if this is correct then you will have to click on search button to apply the different date.
So it appears you've made it so that the date filter works to show only events before that date. That is not what we need. We need the view to control the past/future, but the date field to be a match for that date.
Minesh, I think you are working on the wrong view. You did the work on lien caché based on that last link you sent.
When I requested the view to be worked on was: lien caché
Please make sure to re-read my private message with the links. We are working on one past view and one future view.
There are 3 views total.
Original(view name "community-events" id=2545): lien caché (should not have been touched)
Past (view name "community-events-past" id=4224): lien caché
Future (view name "community-events-future" id=4288): No front facing page yet. Can build one if needed.
But you are working on lien caché (view name "events" id=104) based on the last link you sent me, though the view ID in the snippet is correct. Which is a view completely separate from all the other 3 views and uses a completely different post type. This should not have been touched. You may have just sent the wrong link. Not sure.
Thank You and please let me know if you need more detail.
The code I shared as you already noticed that its applied to your view IDs:
- Past (view name "community-events-past" id=4224): lien caché
and
- Future (view name "community-events-future" id=4288): No front facing page yet. Can build one if needed.
I just checked with the past view and when I search for 14th May 2023, it shows the correct results: