Order the results of getRecipeTiddlers

This commit is contained in:
Jeremy Ruston 2024-01-20 21:48:33 +00:00
parent 59aed49e98
commit d832bbcc70
1 changed files with 2 additions and 1 deletions

View File

@ -395,7 +395,8 @@ SqlTiddlerStore.prototype.getRecipeTiddlers = function(recipename) {
INNER JOIN recipes AS r ON rb.recipe_id = r.recipe_id
INNER JOIN tiddlers AS t ON b.bag_id = t.bag_id
WHERE r.recipe_name = $recipe_name
GROUP BY title
GROUP BY t.title
ORDER BY t.title
)
`,{
recipe_name: recipename