???
This commit is contained in:
parent
23943692ce
commit
03af4dd92f
@ -934,10 +934,13 @@ class Image
|
|||||||
ORDER BY it.image_id DESC
|
ORDER BY it.image_id DESC
|
||||||
LIMIT :limit OFFSET :offset
|
LIMIT :limit OFFSET :offset
|
||||||
) a on a.image_id = images.id
|
) a on a.image_id = images.id
|
||||||
|
ORDER BY images.id DESC
|
||||||
", ["limit"=>$limit, "offset"=>$offset]);
|
", ["limit"=>$limit, "offset"=>$offset]);
|
||||||
// don't offset at the image level because
|
// don't offset at the image level because
|
||||||
// we already offset at the image_tags level
|
// we already offset at the image_tags level
|
||||||
$offset = 0;
|
$order = null;
|
||||||
|
$limit = null;
|
||||||
|
$offset = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user