This support ticket is created Il y a 2 années et 2 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.
can you have a look at this? - how can i connect these two filters?
in this page it works correctly - i only copied these two views corrected the settings and the shortcodes from lien caché in the new once which i used on lien caché:
This is because this view is displaying a completely different post type.
Its displaying the repeatable field group "Termine" while your other view is displaying the "Veranstaltungen" post type.
On the Veranstaltungen post type this date custom field doesn't exist on the post itself but rather in a repeatable field group. In such a case you won't be able to use the repeatable field date field to filter the post itself as essentially a different post type in a relationship with the Veranstaltungen post type.
Please let me know if this clarifies the issue for you.
Thanks,
Shane
Both views are similar but not the same. This 1 doesn't have a date filter. lien caché
While this one does lien caché
So there are some differences. it work only "if string is greater than" - "if string is smaller than"
The dates in the database are stored as a timestamp, so when writing the date filters you will need to compare it to a number. Dates before today() are less than the value of today so this should work since its a numeric comparison.
However is the view currently displaying the correct information ? I want to have a second look but I think there are some things that i'm unsure about. Mainly which filters are required.
The filter should work. I did a quick check and it does appear to be working even when I did a test on my end. It is important that the date filter is set to compare as a number. If it is set to compare as a string you may not get an accurate result.
Unfortunately no you won't be able to do this given that the view with the search doesn't have the date field on it. Unless you're going to be filtering your view by the letzter Termin date field.
Yes this can be possible, will you be setting it manually as to set it automatically will require some amount of custom coding. However if you do set the date to the last item then this can work since we will now be able to filter the posts.