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

Fix sqlAllTitles wrongly including shadow tiddlers

This commit is contained in:
Jeremy Ruston 2023-10-25 18:02:56 +01:00
parent 3a4f5b8cfc
commit e9d640b61b

View File

@ -345,7 +345,7 @@ $tw.SqlFunctions = function(options) {
/*
Get all titles
*/
var statementAllTitles = self.db.prepare(`select title from titles order by title ${COLLATION_CLAUSE}`);
var statementAllTitles = self.db.prepare(`select title from titles where plugintitle = '' order by title ${COLLATION_CLAUSE}`);
this.sqlAllTitles = function() {
let resultRows = [];
while(statementAllTitles.step()) {