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
5f3489f5
Commit
5f3489f5
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
d778c3ce
Changes
2
Show 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 @
5f3489f5
...
@@ -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 @
5f3489f5
...
@@ -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