mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-20 05:44:27 +00:00
Fix create recipe SQL bug
This commit is contained in:
1 parent
3f1f7c7ef7
commit
1eed61397b
1 file changed
+1
-1
@@ -148,7 +148,7 @@ SqlTiddlerStore.prototype.createRecipe = function(recipename,bagnames) {
|
||||
SELECT r.recipe_id, b.bag_id, j.key as position
|
||||
FROM recipes r
|
||||
JOIN bags b
|
||||
LEFT JOIN json_each($bag_names) AS j ON j.value = b.bag_name
|
||||
INNER JOIN json_each($bag_names) AS j ON j.value = b.bag_name
|
||||
WHERE r.recipe_name = $recipe_name
|
||||
`,{
|
||||
recipe_name: recipename,
|
||||
|
||||
Reference in new issue
Block a user