fix sql debug button in search

This commit is contained in:
smilerz
2022-03-11 07:27:42 -06:00
parent c950e6dabb
commit b9289e2685

View File

@ -1148,7 +1148,10 @@ export default {
},
showSQL: function () {
let params = this.buildParams()
this.genericAPI(this.Models.RECIPE, this.Actions.LIST, params).then((result) => {})
params.options.query.debug = true
this.genericAPI(this.Models.RECIPE, this.Actions.LIST, params).then((result) => {
console.log(result.data)
})
},
// TODO refactor to combine with load KeywordChildren
loadFoodChildren({ action, parentNode, callback }) {