Problem:
I have a table called "Top Fires" on my homepage using Toolset. The data sorts correctly when clicking on most headers, but the date-based columns ("Date created" and "Date modified") do not sort properly and seem to sort randomly.
Solution:
Change the code for the headers of the date-based columns. Use the "types-field-" prefix for the custom fields in the wpv-heading shortcode:
<th>[wpv-heading name="types-field-created-on"]Detected[/wpv-heading]</th> <th>[wpv-heading name="types-field-last-updated"]last updated[/wpv-heading]</th>
Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-heading
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.
Our next available supporter will start replying to tickets in about 1.14 hours from now. Thank you for your understanding.
This topic contains 15 replies, has 2 voices.
Last updated by 4 months, 3 weeks ago.
Assisted by: Christopher Amirian.