[dw-free] Up userlog display limit to 10K entries
[commit: http://hg.dwscoalition.org/dw-free/rev/77555082f2df]
http://bugs.dwscoalition.org/show_bug.cgi?id=485
Up userlog display limit to 10k entries. Merge from LiveJournal
Patch from LiveJournal, prepared for Dreamwidth by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=485
Up userlog display limit to 10k entries. Merge from LiveJournal
Patch from LiveJournal, prepared for Dreamwidth by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- htdocs/admin/userlog.bml
-------------------------------------------------------------------------------- diff -r fa577c7f544b -r 77555082f2df htdocs/admin/userlog.bml --- a/htdocs/admin/userlog.bml Sat Mar 14 04:39:43 2009 +0000 +++ b/htdocs/admin/userlog.bml Sat Mar 14 06:29:41 2009 +0000 @@ -54,7 +54,7 @@ FORM return $err->("Unable to get user cluster reader.") unless $dbcr; - my $sth = $dbcr->prepare('SELECT * FROM userlog WHERE userid = ? ORDER BY logtime DESC LIMIT 1000'); + my $sth = $dbcr->prepare('SELECT * FROM userlog WHERE userid = ? ORDER BY logtime DESC LIMIT 10000'); $sth->execute($u->{userid}); return $err->("Database error: " . $sth->errstr) if $sth->err; --------------------------------------------------------------------------------