Dolibarr/dolibarr — pull request #339 by marcosgdf (2012-08-23 06:24:28+00:00)
Title: Fixed bug #511

A pagination problem was causing duplicated records
https://doliforge.org/tracker/?func=detail&aid=511&group_id=144

Also did a little refactor.

I haven't tested in 3.2 branch but I think it also affects that version.