Chronoforms 7 sort in the 'Table List' when the 'Read Data' already has an 'ORDER BY' clause

mayergreenberg259 18 Mar, 2025

I am using the cf7 'Table List' and 'Read Data' to read from a table in my database.

My problem is that if I use an ORDER BY clause (in the Advanced Settings) to initially order the results based on 1 column, then none of the other sort buttons for the other columns work. They only work if I remove my initial ORDER BY clause.

My goal is to have both

    1) an initial ORDER BY clause, for when the page loads, and 

    2) the ability for users to click on the sort buttons on any of the sortable columns and be able to override the initial ORDER BY clause.

Is this possible?

You need to login to be able to post a reply.