We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 992fcc8 commit 5fa0142Copy full SHA for 5fa0142
services/videos.js
@@ -8,7 +8,7 @@ async function getMultiple(userid, page = 1){
8
`SELECT videoId, youtubeId, soundcloudId, vimeoId, bandcampId, isFlagged, tags, title
9
FROM video WHERE videoId IN (
10
SELECT videoId FROM user_video WHERE userId = ?
11
- ) ORDER BY videoId LIMIT ?,?`,
+ ) ORDER BY uservideoId LIMIT ?,?`,
12
[userid, offset, config.listPerPage]
13
);
14
const data = helper.emptyOrRows(rows);
0 commit comments