[Résolu] Can't get sort order to work when using wpv-control
This support ticket is created Il y a 6 années et 6 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.
I've setup a dropdown list to select all dates within a range/year, but when I'm using it, the sort order no longer is affected by the ordering section at the top of the view page. The results seem to be ordering by DESC once a year is selected. I've tried adjusting the following function with ordering, but I haven't been able to get it to make a difference either.
This is what I'm using in the search and pagination section of the view page to generate the dropdown values, to select which year of results need displayed.
Hello. Thank you for contacting the Toolset support.
Well - I need to check first the code you wrote and what's the outcome of that code.
Could you please share problem URL and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
I ran through this pretty quickly and overlooked some issues in the code I just posted in my previous post. Even though my main problem went away, there are errors in the code I posted. Please delete my previous post (so no one runs across it and attempts to use it with the errors) and also delete this post, since I don't have the ability to do that.