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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
8573808a
Commit
8573808a
authored
Jun 27, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
min/max_gid are not always passed as argument
parent
ded0d9ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_get_syncml_gid_list.xml
...teItem/portal_skins/erp5_syncml/z_get_syncml_gid_list.xml
+13
-9
bt5/erp5_syncml/bt/revision
bt5/erp5_syncml/bt/revision
+1
-1
No files found.
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_get_syncml_gid_list.xml
View file @
8573808a
...
...
@@ -63,19 +63,23 @@ SELECT \n
FROM syncml\n
WHERE\n
path like <dtml-sqlvar path type="string">
\n
<dtml-if
first_call
>
\n
/* Do nothing here */\n
<dtml-else>
\n
AND gid >=
<dtml-sqlvar
min_gid
type=
"string"
>
\n
<dtml-if
min_gid
>
\n
<dtml-if
first_call
>
\n
/* Do nothing here */\n
<dtml-else>
\n
AND gid >=
<dtml-sqlvar
min_gid
type=
"string"
>
\n
</dtml-if>
\n
</dtml-if>
\n
<dtml-if
last_call
>
\n
/* Do nothing here */\n
<dtml-else>
\n
AND gid
<
=
<dtml-sqlvar
max_gid
type=
"string"
>
\n
<dtml-if
max_gid
>
\n
<dtml-if
last_call
>
\n
/* Do nothing here */\n
<dtml-else>
\n
AND gid
<
=
<dtml-sqlvar
max_gid
type=
"string"
>
\n
</dtml-if>
\n
</dtml-if>
\n
ORDER BY gid\n
<dtml-if
limit
>
\n
LIMIT
<dtml-var
limit
>
\n
LIMIT
<dtml-var
limit
>
\n
</dtml-if>
]]>
</string>
</value>
...
...
bt5/erp5_syncml/bt/revision
View file @
8573808a
94
\ No newline at end of file
95
\ 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