vanstyn / RapidApp

Turnkey ajaxy webapps
http://rapi.io
Other
48 stars 15 forks source link

Saved searches with multisort enabled are not restored correctly. #186

Open deven opened 3 years ago

deven commented 3 years ago

The JSON created for a saved search/view with multisort enabled does not include the "sort" key, which allows that key to be defaulted to sort a specific column when the JSON is loaded, which then modifies the multisort keys as if the user clicked on that default sort column to update the sort. This can be prevented by including a "sort" key in the saved JSON with an empty object as the value, which prevents the default sort column from corrupting the saved list of multisort columns.