mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
Fix create recipe SQL bug
This commit is contained in:
parent
3f1f7c7ef7
commit
1eed61397b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user