darrachequesne / spring-data-jpa-datatables

Spring Data JPA extension to work with the great jQuery plugin DataTables (https://datatables.net/)
Apache License 2.0
447 stars 173 forks source link

global ordering:false not working why? #107

Closed saahmadi closed 7 months ago

saahmadi commented 5 years ago

global ordering:false not working why?

smsotirov commented 7 months ago

I have the same issue. basically, whet this is set, the request does nto contains any rder. So there is not order[0].column... and order[0].dir and order[0].name params in the request. While the validation in DataTablesInput is @NotEmpty for the field "order". I don't have a fix to this issue. I'm thinking to create my implemetation of the whole project because of this issue.

darrachequesne commented 7 months ago

This should be fixed by https://github.com/darrachequesne/spring-data-jpa-datatables/commit/a214d5bb199fff4ccd578c3bbb71ee64f3a0f198, included in version 6.0.2.