Hi,
thanks for your question, and sorry for the trouble.
At first, please make sure that you use the latest version of TablePress (1.6.1) and WordPress. From what I can see, you are still using TablePress 1.5.1.
You should then also not need the DataTables Sorting Extension so that I suggest that you test without it.
Which sorting exactly are you refering to here? Where do I have to click in order to reproduce this? What are the expected results and what’s happening instead?
Regards,
Tobias
Thank you for your help. I have updated WP and TablePress to the latest versions, and disabled the DataTables extension.
If you look at the first table on http://www.gcwga.org/spring-teams/spring-team-results/roster-test/, the Spring Team Results: Division I table, you will see that Carmargo is no longer in numerical order by Total Score. All worked well when we first created the table, but when I went back in and changed one of the Week scores, it summed correctly, but the sorting is no longer valid.
We sort in the dashboard, in the TablePress table, using the ascending/descending arrows above the appropriate column and then update changes. Is there any code I can include to make sure it updates the sorting automatically, even after changes are made?
If you need access to view this, let me know and I can PM it to you.
Thank you for your help!
Hi,
the reason for this simply is that the sorting on the “Edit” screen sorts based on the “source” content in the cells, i.e. it’s actually sorting the formulas and the results of the formulas.
My suggestion here would be to let TablePress sort the table just before it’s displayed. For that, you can use the TablePress Extension from https://tablepress.org/extensions/table-row-order/
Regards,
Tobias
I think that worked! Thank you so much for your quick and helpful response!! I will be making a donation for your excellent plugin!
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
And thanks for the donation, I really appreciate it!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!