alfajango / jquery-dynatable

A more-fun, semantic, alternative to datatables
http://www.dynatable.com
Other
2.77k stars 363 forks source link

Ascending/descending not returning to default data order after disabling #269

Open shanecutts opened 7 years ago

shanecutts commented 7 years ago

Hi,

When using the ascending/descending sorting option (by selecting the column heading), both ascending and descending display the data correctly. However, when selecting the heading for a third time to 'disable' the sorting, the data is displayed in a different order and does not return to the default, correct data order.

Example here: https://in2adventure.com.au/test-ajax-results/ The default order of the data by 'first name' in Chrome is empty Jack Lesley Lesley Stacey Stacey Christiane Christiane Christiane

You'll notice after selecting the first name heading 3 times, the data displayed is not reverting to default. How can I fix this?