[geeklog-devtalk] Bug in user listings / multiple page listing

Drago Goricanec drago-l-gl at goricanec.com
Thu Jul 22 16:49:43 EDT 2004


I'm running 1.3.8-1sr5, but the same bug is present in 1.3.9 (at least in the
copy I downloaded a while ago). I happened to have 51 users, but with the uid
for the last user being 59 (I deleted a few in between). The default limit when
displaying users is 50, so naturally two pages would be required to show them.
But the 2nd page didn't show the last user as expected. In fact I don't know
what order the users were returned by MySQL (I'm running 3.23.55) but it was
not showing the correct user on the 2nd page.

I added an 'ORDER BY uid' and that fixed the problem. Here's the patch against
my version of geeklog.

Drago
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gl-users.patch
Type: application/octet-stream
Size: 1142 bytes
Desc: not available
Url : <http://eight.pairlist.net/pipermail/geeklog-devtalk/attachments/20040722/733e9aa1/attachment.obj>


More information about the geeklog-devtalk mailing list