Server Side Limit of -1 throws ajax error

Server Side Limit of -1 throws ajax error

Hi, when I choose the all option in the show entries box it throws a json error because the -1 is not an option in mysql. I have gotten around it by detecting if it is a -1 and then adding the limit only if it's not equal to -1 but I wondered if there was a better way.

Thanks!

Answers

  • allanallan Posts: 63,816Questions: 1Answers: 10,517 Site admin

    That's exactly what should be done. Oddly there was another thread about that earlier today.

    Allan

This discussion has been closed.