Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
0136f8c9 by Nicolas Évrard at 2022-12-29T10:51:47+01:00
Do not use default record size limit when it is null

Closes #11924
- - - - -


1 changed file:

- sao/src/screen.js


Changes:

=====================================
sao/src/screen.js
=====================================
@@ -802,8 +802,7 @@
             this.domain = attributes.domain || [];
             this.context_domain = attributes.context_domain;
             this.size_limit = null;
-            if ((this.attributes.limit === undefined) ||
-                (this.attributes.limit === null)) {
+            if (this.attributes.limit === undefined) {
                 this.limit = Sao.config.limit;
             } else {
                 this.limit = attributes.limit;



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/0136f8c9141c00001a8a14f84589d54dd3b79014

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/0136f8c9141c00001a8a14f84589d54dd3b79014
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to