Reordering offset.
This commit is contained in:
parent
ffd1c1bf42
commit
6110e29cd5
@ -54,8 +54,8 @@ sub _populate_locations ($dbh) {
|
|||||||
SELECT uuid, remote_address
|
SELECT uuid, remote_address
|
||||||
FROM requests
|
FROM requests
|
||||||
WHERE date > NOW() - interval '2 months'
|
WHERE date > NOW() - interval '2 months'
|
||||||
LIMIT 100
|
OFSSET $page
|
||||||
OFSSET $page;
|
LIMIT 100;
|
||||||
EOF
|
EOF
|
||||||
if (!@$data) {
|
if (!@$data) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user