Merge pull request #1645 from smilerz/fix_sql_debug
fix sql debug button in search
This commit is contained in:
commit
5459e293d1
@ -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 }) {
|
||||
|
Loading…
Reference in New Issue
Block a user