n1crack / datatables

Simplify your Datatables server-side processing effortlessly using our lightning-fast PHP library, streamlining your workflow seamlessly.
https://datatables.ozdemir.be/
MIT License
267 stars 90 forks source link

Problem with "order by" #61

Closed abbasgholia closed 4 years ago

abbasgholia commented 4 years ago

ORDERING is not performed due to query sequence. Please help improve this article or section by expanding it regard mostafa

itsKnight847 commented 4 years ago

@n1crack Hey, I think the issue not solved yet, I having issue with this at the current moment on a project I working on. btw is there any way to order by default column (creation_date for example) if no order by provided.

n1crack commented 4 years ago

Can you try by adding "order": [] to your javascript code.

Default order in your sql should work then.

itsKnight847 commented 4 years ago

Can you try by adding "order": [] to your javascript code.

Default order in your sql should work then.

Thanks for quick response, it did solve the order. @n1crack

abbasgholia commented 4 years ago

thanks I did the same regard by abbasgholia