Add missing LIMIT 1

This commit is contained in:
Jeremy Ruston 2024-01-19 22:03:07 +00:00
parent afa9ad3cde
commit e9f83ca735
1 changed files with 1 additions and 0 deletions

View File

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