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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
abf6d8d4
Commit
abf6d8d4
authored
Jul 30, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_dms: drop the hardcoded LIMIT 1000
Do not limit by default
parent
4dc5e290
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitPredecessorValueList.sql
..._skins/erp5_dms/Base_zGetImplicitPredecessorValueList.sql
+5
-1
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitSuccessorValueList.sql
...al_skins/erp5_dms/Base_zGetImplicitSuccessorValueList.sql
+5
-1
No files found.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitPredecessorValueList.sql
View file @
abf6d8d4
...
@@ -47,7 +47,11 @@ AS sub inner join catalog on catalog.path = sub.path
...
@@ -47,7 +47,11 @@ AS sub inner join catalog on catalog.path = sub.path
AS
main
AS
main
WHERE
WHERE
<
dtml
-
sqltest
"getUid()"
column
=
uid
op
=
ne
type
=
int
>
<
dtml
-
sqltest
"getUid()"
column
=
uid
op
=
ne
type
=
int
>
LIMIT
1000
<
dtml
-
if
"query['limit_expression']"
>
LIMIT
<
dtml
-
var
"query['limit_expression']"
>
</
dtml
-
if
>
<
dtml
-
if
"'derived_merge' in optimizer_switch_key_list"
>
<
dtml
-
if
"'derived_merge' in optimizer_switch_key_list"
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitSuccessorValueList.sql
View file @
abf6d8d4
...
@@ -47,7 +47,11 @@ AS sub inner join catalog on catalog.path = sub.path
...
@@ -47,7 +47,11 @@ AS sub inner join catalog on catalog.path = sub.path
AS
main
AS
main
WHERE
WHERE
<
dtml
-
sqltest
"getUid()"
column
=
uid
op
=
ne
type
=
int
>
<
dtml
-
sqltest
"getUid()"
column
=
uid
op
=
ne
type
=
int
>
LIMIT
1000
<
dtml
-
if
"query['limit_expression']"
>
LIMIT
<
dtml
-
var
"query['limit_expression']"
>
</
dtml
-
if
>
<
dtml
-
if
"'derived_merge' in optimizer_switch_key_list"
>
<
dtml
-
if
"'derived_merge' in optimizer_switch_key_list"
>
<
dtml
-
var
sql_delimiter
>
<
dtml
-
var
sql_delimiter
>
...
...
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