1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00

Add missing LIMIT 1

This commit is contained in:
Jeremy Ruston 2024-01-19 22:03:07 +00:00
parent afa9ad3cde
commit e9f83ca735

View File

@ -337,6 +337,7 @@ SqlTiddlerStore.prototype.getRecipeTiddler = function(title,recipename) {
WHERE r.recipe_name = $recipe_name WHERE r.recipe_name = $recipe_name
AND t.title = $title AND t.title = $title
ORDER BY rb.position DESC ORDER BY rb.position DESC
LIMIT 1
`,{ `,{
title: title, title: title,
recipe_name: recipename recipe_name: recipename