1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-27 14:48:19 +00:00

Fix tag collation syntax

This commit is contained in:
Jeremy Ruston 2023-07-29 11:48:35 +01:00
parent bb41ae0c9b
commit e6309e95c9

View File

@ -304,7 +304,7 @@ $tw.SqlFunctions = function(options) {
WHERE tt.tag_id = (SELECT tag_id FROM tags WHERE tag = $tag)
AND (t.shadow = 0 OR NOT EXISTS (SELECT 1 FROM tiddlers WHERE title = t.title AND shadow = 0))
GROUP BY t.title, t.shadow
ORDER BY t.title ASC, t.shadow ASC ${COLLATION_CLAUSE};
ORDER BY t.title ${COLLATION_CLAUSE} ASC, t.shadow ASC;
`);
this.sqlGetTiddlersWithTag = function(tag,method) {
statementGetTiddlersWithTag.bind({