Queries showing on google chrome network preview

Queries showing on google chrome network preview

seniorhmseniorhm Posts: 2Questions: 1Answers: 0

http://live.datatables.net/duqohetu/2/edit

Why is my ajax datatable request showing queries?
I don't want the queries made to the server to be shown in the preview
Kindly help

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    You've got serverSide enabled, so all paging, searching and ordering (i.e. every draw) will be sent to the server to get the correct data. If you don't want that, and if you haven't got too many rows (less than 50k), just disable server-side processing.

    Colin

  • kthorngrenkthorngren Posts: 21,447Questions: 26Answers: 4,974

    Are you referring to the queries object? Take a look at your script to find where its being added to the returned JSON and eliminate that code. Its not a documented part of the Server Side Processing Prorotocl so its something added by your script.

    Kevin

  • seniorhmseniorhm Posts: 2Questions: 1Answers: 0

    I found the problem. I'm using datatables on laravel, the problem is because my environment settings for APP_DEBUG is true, i just chaged it to false :smile:

This discussion has been closed.