Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
erp5
Commits
9c94ae13
Commit
9c94ae13
authored
Jan 28, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove default limit on builders' ZSQL select methods
Proper way is to call a global builder with a 'limit' parameter.
parent
a7e6e26d
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
48 additions
and
28 deletions
+48
-28
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_zSelectMovement.xml
...ns/erp5_accounting/PaymentTransaction_zSelectMovement.xml
+7
-3
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/AmortisationTransaction_zSelectMovement.xml
...mmobilisation/AmortisationTransaction_zSelectMovement.xml
+8
-5
bt5/erp5_immobilisation/bt/revision
bt5/erp5_immobilisation/bt/revision
+1
-1
bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_zSelectMovement.xml
...ins/erp5_invoicing/InvoiceTransaction_zSelectMovement.xml
+7
-5
bt5/erp5_invoicing/bt/revision
bt5/erp5_invoicing/bt/revision
+1
-1
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_zSelectMovement.xml
...portal_skins/erp5_mrp/ProductionOrder_zSelectMovement.xml
+6
-3
bt5/erp5_mrp/bt/revision
bt5/erp5_mrp/bt/revision
+1
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_zSelectMovement.xml
...teItem/portal_skins/erp5_project/Task_zSelectMovement.xml
+7
-3
bt5/erp5_project/bt/revision
bt5/erp5_project/bt/revision
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_zSelectMovement.xml
...ateItem/portal_skins/erp5_trade/Order_zSelectMovement.xml
+7
-3
bt5/erp5_trade/bt/revision
bt5/erp5_trade/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_zSelectMovement.xml
View file @
9c94ae13
...
@@ -25,7 +25,8 @@
...
@@ -25,7 +25,8 @@
<value>
<string>
from_table_list:list\r\n
<value>
<string>
from_table_list:list\r\n
where_expression\r\n
where_expression\r\n
order_by_expression\r\n
order_by_expression\r\n
max_movement_date
</string>
</value>
max_movement_date\r\n
limit_expression
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -55,11 +56,11 @@ max_movement_date</string> </value>
...
@@ -55,11 +56,11 @@ max_movement_date</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
100
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
src
</string>
</key>
<key>
<string>
src
</string>
</key>
...
@@ -107,6 +108,9 @@ WHERE\n
...
@@ -107,6 +108,9 @@ WHERE\n
\n
\n
<dtml-if
order_by_expression
>
\n
<dtml-if
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
</dtml-if>
\n
<dtml-if
limit_expression
>
\n
LIMIT
<dtml-var
limit_expression
>
\n
</dtml-if>
</dtml-if>
]]>
</string>
</value>
]]>
</string>
</value>
...
...
bt5/erp5_accounting/bt/revision
View file @
9c94ae13
1506
1507
\ No newline at end of file
\ No newline at end of file
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/AmortisationTransaction_zSelectMovement.xml
View file @
9c94ae13
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
from_table_list:list\r\n
<value>
<string>
from_table_list:list\r\n
where_expression\r\n
where_expression\r\n
order_by_expression
</string>
</value>
order_by_expression\r\n
limit_expression
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -46,11 +47,11 @@ order_by_expression</string> </value>
...
@@ -46,11 +47,11 @@ order_by_expression</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
100
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
src
</string>
</key>
<key>
<string>
src
</string>
</key>
...
@@ -77,12 +78,14 @@ WHERE\n
...
@@ -77,12 +78,14 @@ WHERE\n
1=1\n
1=1\n
<dtml-if
where_expression
>
\n
<dtml-if
where_expression
>
\n
AND
<dtml-var
where_expression
>
\n
AND
<dtml-var
where_expression
>
\n
</dtml-if>
\n
</dtml-if>
AND simulation_movement.uid = catalog.uid\n
AND simulation_movement.uid = catalog.uid\n
AND category.category_uid is NULL\n
AND category.category_uid is NULL\n
\n
\n
<dtml-if
order_by_expression
>
\n
<dtml-if
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
</dtml-if>
\n
<dtml-if
limit_expression
>
\n
LIMIT
<dtml-var
limit_expression
>
\n
</dtml-if>
</dtml-if>
]]>
</string>
</value>
]]>
</string>
</value>
...
...
bt5/erp5_immobilisation/bt/revision
View file @
9c94ae13
180
181
\ No newline at end of file
\ No newline at end of file
bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceTransaction_zSelectMovement.xml
View file @
9c94ae13
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
from_table_list:list\r\n
<value>
<string>
from_table_list:list\r\n
where_expression\r\n
where_expression\r\n
order_by_expression
</string>
</value>
order_by_expression\r\n
limit_expression
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -52,11 +53,11 @@ order_by_expression</string> </value>
...
@@ -52,11 +53,11 @@ order_by_expression</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
src
</string>
</key>
<key>
<string>
src
</string>
</key>
...
@@ -92,8 +93,9 @@ WHERE\n
...
@@ -92,8 +93,9 @@ WHERE\n
<dtml-if
order_by_expression
>
\n
<dtml-if
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
</dtml-if>
\n
</dtml-if>
\n
\n
<dtml-if
limit_expression
>
\n
LIMIT
<dtml-var
limit_expression
>
\n
</dtml-if>
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
...
...
bt5/erp5_invoicing/bt/revision
View file @
9c94ae13
385
386
\ No newline at end of file
\ No newline at end of file
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_zSelectMovement.xml
View file @
9c94ae13
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
from_table_list:list\r\n
<value>
<string>
from_table_list:list\r\n
where_expression\r\n
where_expression\r\n
order_by_expression
</string>
</value>
order_by_expression\r\n
limit_expression
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -44,7 +45,7 @@ order_by_expression</string> </value>
...
@@ -44,7 +45,7 @@ order_by_expression</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<key>
<string>
max_rows_
</string>
</key>
...
@@ -83,7 +84,9 @@ WHERE\n
...
@@ -83,7 +84,9 @@ WHERE\n
<dtml-if
order_by_expression
>
\n
<dtml-if
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
</dtml-if>
\n
</dtml-if>
\n
<dtml-if
limit_expression
>
\n
LIMIT
<dtml-var
limit_expression
>
\n
</dtml-if>
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
...
...
bt5/erp5_mrp/bt/revision
View file @
9c94ae13
476
477
\ No newline at end of file
\ No newline at end of file
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_zSelectMovement.xml
View file @
9c94ae13
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
from_table_list:list\r\n
<value>
<string>
from_table_list:list\r\n
where_expression\r\n
where_expression\r\n
order_by_expression
</string>
</value>
order_by_expression\r\n
limit_expression
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -44,11 +45,11 @@ order_by_expression</string> </value>
...
@@ -44,11 +45,11 @@ order_by_expression</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
100
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
src
</string>
</key>
<key>
<string>
src
</string>
</key>
...
@@ -84,6 +85,9 @@ WHERE\n
...
@@ -84,6 +85,9 @@ WHERE\n
\n
\n
<dtml-if
order_by_expression
>
\n
<dtml-if
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
</dtml-if>
\n
<dtml-if
limit_expression
>
\n
LIMIT
<dtml-var
limit_expression
>
\n
</dtml-if>
</dtml-if>
]]>
</string>
</value>
]]>
</string>
</value>
...
...
bt5/erp5_project/bt/revision
View file @
9c94ae13
819
820
\ No newline at end of file
\ No newline at end of file
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_zSelectMovement.xml
View file @
9c94ae13
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
<key>
<string>
arguments_src
</string>
</key>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
from_table_list:list\r\n
<value>
<string>
from_table_list:list\r\n
where_expression\r\n
where_expression\r\n
order_by_expression
</string>
</value>
order_by_expression\r\n
limit_expression
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<key>
<string>
cache_time_
</string>
</key>
...
@@ -46,11 +47,11 @@ order_by_expression</string> </value>
...
@@ -46,11 +47,11 @@ order_by_expression</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
10
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
100
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
src
</string>
</key>
<key>
<string>
src
</string>
</key>
...
@@ -86,6 +87,9 @@ WHERE\n
...
@@ -86,6 +87,9 @@ WHERE\n
\n
\n
<dtml-if
order_by_expression
>
\n
<dtml-if
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
ORDER BY
<dtml-var
order_by_expression
>
\n
</dtml-if>
\n
<dtml-if
limit_expression
>
\n
LIMIT
<dtml-var
limit_expression
>
\n
</dtml-if>
</dtml-if>
]]>
</string>
</value>
]]>
</string>
</value>
...
...
bt5/erp5_trade/bt/revision
View file @
9c94ae13
1160
1161
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment