sqlpage / SQLPage

Fast SQL-only data application builder. Automatically build a UI on top of SQL queries.
https://sql-page.com
MIT License
1.66k stars 99 forks source link

Sorting data in the table component is broken when searching is not also enabled #660

Closed DSMejantel closed 4 weeks ago

DSMejantel commented 4 weeks ago

Introduction

Since 0.30, Sorting data from table component don't work on the most of my page.

To Reproduce

Il tried with Firefox ans Chrome on computer or smartphone and two différents applications.

Version information

DSMejantel commented 4 weeks ago

Sorting data is possible only when we have 'TRUE as search' in the top level parameters. Before in sqlpage 0.29 'TRUE as sort' was only necessary.

lovasoa commented 4 weeks ago

Thank you for the quick report, @DSMejantel !

I'm releasing v0.30.1 with a fix for this issue.

I also added tests to prevent other regressions in this area in the future.