Merge branch '0.9.x' into atompub

This commit is contained in:
Evan Prodromou 2010-10-25 11:18:56 -04:00
commit b60b9b4fa2
3 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class Notice_tag extends Memcached_DataObject
}
if ($max_id != 0) {
$nt->whereAdd('notice_id < ' . $max_id);
$nt->whereAdd('notice_id <= ' . $max_id);
}
$nt->orderBy('notice_id DESC');

View File

@ -240,7 +240,7 @@ class Profile extends Memcached_DataObject
}
if ($max_id != 0) {
$query .= " and id < $max_id";
$query .= " and id <= $max_id";
}
$query .= ' order by id DESC';

View File

@ -55,7 +55,7 @@ class Reply extends Memcached_DataObject
}
if ($max_id != 0) {
$reply->whereAdd('notice_id < ' . $max_id);
$reply->whereAdd('notice_id <= ' . $max_id);
}
$reply->orderBy('notice_id DESC');