diff --git a/script.js b/script.js index d2e02a9..4e4f0c3 100644 --- a/script.js +++ b/script.js @@ -1460,7 +1460,7 @@ const baseRowsSql = ` SELECT id, name FROM artists - ORDER BY printf('%s', name) COLLATE NOCASE + ORDER BY name LIMIT ? OFFSET ? `; const countSql = 'SELECT COUNT(*) AS count FROM artists WHERE name LIKE ? ESCAPE "\\"'; @@ -1468,7 +1468,7 @@ SELECT id, name FROM artists WHERE name LIKE ? ESCAPE "\\" - ORDER BY printf('%s', name) COLLATE NOCASE + ORDER BY name LIMIT ? OFFSET ? `; const ftsCountSql = ` @@ -1488,7 +1488,7 @@ JOIN artists a ON a.id = t.artist_id WHERE fts_tracks MATCH ? GROUP BY a.id - ORDER BY printf('%s', a.name) COLLATE NOCASE + ORDER BY a.name LIMIT ? OFFSET ? `;