Unfortunately, not quite fixed. The sort order seems to be working but I now get 1 or two users per page - and the number of users has gone back up to near the total number of users instead of the number with public folders.
Having had a look through the sub, I think that the problem may be that you limit the number of users you're looking through before deciding whether they have any public folders - does that sound right? I think that may be why you weren't using $table to begin with?
I'm playing around with it - I'll let you know if I fix it.
Having had a look through the sub, I think that the problem may be that you limit the number of users you're looking through before deciding whether they have any public folders - does that sound right? I think that may be why you weren't using $table to begin with?
I'm playing around with it - I'll let you know if I fix it.