summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2014-09-24 15:41:09 +0200
committerRaphael Collet <rco@openerp.com>2014-09-25 10:37:28 +0200
commit330a3ff6ea8e9c87a9a504cb5cc667f27957c072 (patch)
treee6dc53eb1f7ded32f48c455f1a10e00f6b33016d /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent1f15055de35b07e10d8082086abf3a97fd284801 (diff)
[IMP] models: when checking for data in a table, do not use column 'id'
Replace the query "SELECT min(id) FROM xxx" by "SELECT 1 FROM xxx LIMIT 1". Both requests are as efficient, and the second one does not crash if column 'id' is missing.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions