projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8773fca
)
[FIX] FF issues in dataset limit.
author
vishmita
<vja@vja-desktop>
Fri, 21 Oct 2011 12:06:45 +0000
(17:36 +0530)
committer
vishmita
<vja@vja-desktop>
Fri, 21 Oct 2011 12:06:45 +0000
(17:36 +0530)
lp bug: https://launchpad.net/bugs/876603 fixed
bzr revid: vja@vja-desktop-
20111021120645
-qx0en9plxihle0dj
addons/web/static/src/js/data.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/data.js
b/addons/web/static/src/js/data.js
index
475dbe5
..
0695065
100644
(file)
--- a/
addons/web/static/src/js/data.js
+++ b/
addons/web/static/src/js/data.js
@@
-493,7
+493,7
@@
openerp.web.DataSetStatic = openerp.web.DataSet.extend({
offset = options.offset || 0,
limit = options.limit || false,
fields = fields || false;
- var end_pos = limit && limit !== -1 ? offset + limit : undefined;
+ var end_pos = limit && limit !== -1 ? offset + limit : this.ids.length;
return this.read_ids(this.ids.slice(offset, end_pos), fields, callback);
},
set_ids: function (ids) {