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:
parent
afa9ad3cde
commit
e9f83ca735
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user