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
Tatuya Kamada
erp5
Commits
c9b33291
Commit
c9b33291
authored
Sep 28, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support domain_tree and report_tree in WebSection_getDocumentValueList.
parent
e85c3ba5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml
...ortal_skins/erp5_web/WebSection_zGetDocumentValueList.xml
+15
-2
bt5/erp5_web/bt/change_log
bt5/erp5_web/bt/change_log
+3
-0
bt5/erp5_web/bt/revision
bt5/erp5_web/bt/revision
+1
-1
No files found.
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_zGetDocumentValueList.xml
View file @
c9b33291
...
@@ -66,7 +66,9 @@ kw</string> </value>
...
@@ -66,7 +66,9 @@ kw</string> </value>
<dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw), **kw)"\n
<dtml-let query="buildSQLQuery(query=portal_catalog.getSecurityQuery(**kw), **kw)"\n
is_translation_order_by="query[\'order_by_expression\'] is not None and\n
is_translation_order_by="query[\'order_by_expression\'] is not None and\n
\'translated_message\' in query[\'order_by_expression\']">
\n
\'translated_message\' in query[\'order_by_expression\']"\n
selection_domain="kw.get(\'selection_domain\', None)"\n
selection_report="kw.get(\'selection_report\', None)">
\n
\n
\n
<dtml-comment>
\n
<dtml-comment>
\n
Currently, there is no other choice to implement this method as an SQL catalog until SQLCatalog\n
Currently, there is no other choice to implement this method as an SQL catalog until SQLCatalog\n
...
@@ -107,6 +109,12 @@ kw</string> </value>
...
@@ -107,6 +109,12 @@ kw</string> </value>
<dtml-in
prefix=
"table"
expr=
"query[\'from_table_list\']"
>
\n
<dtml-in
prefix=
"table"
expr=
"query[\'from_table_list\']"
>
\n
<dtml-var
table_item
>
AS
<dtml-var
table_key
>
,\n
<dtml-var
table_item
>
AS
<dtml-var
table_key
>
,\n
</dtml-in>
\n
</dtml-in>
\n
<dtml-if
selection_domain
>
\n
<dtml-var
"portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_domain)"
>
,\n
</dtml-if>
\n
<dtml-if
selection_report
>
\n
<dtml-var
"portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_report)"
>
,\n
</dtml-if>
\n
versioning AS my_versioning\n
versioning AS my_versioning\n
<dtml-if
is_translation_order_by
>
\n
<dtml-if
is_translation_order_by
>
\n
, translation AS related_translation_intermediate\n
, translation AS related_translation_intermediate\n
...
@@ -116,7 +124,12 @@ kw</string> </value>
...
@@ -116,7 +124,12 @@ kw</string> </value>
<dtml-if
"query[\'where_expression\']"
>
\n
<dtml-if
"query[\'where_expression\']"
>
\n
AND
<dtml-var
"query[\'where_expression\']"
>
\n
AND
<dtml-var
"query[\'where_expression\']"
>
\n
</dtml-if>
\n
</dtml-if>
\n
\n
<dtml-if
selection_domain
>
\n
AND
<dtml-var
"portal_selections.buildSQLExpressionFromDomainSelection(selection_domain)"
>
\n
</dtml-if>
\n
<dtml-if
selection_report
>
\n
AND
<dtml-var
"portal_selections.buildSQLExpressionFromDomainSelection(selection_report)"
>
\n
</dtml-if>
\n
<dtml-if
all_languages
>
\n
<dtml-if
all_languages
>
\n
<dtml-else>
\n
<dtml-else>
\n
AND my_versioning.language IN (
<dtml-sqlvar
language
type=
"string"
>
, \'\')\n
AND my_versioning.language IN (
<dtml-sqlvar
language
type=
"string"
>
, \'\')\n
...
...
bt5/erp5_web/bt/change_log
View file @
c9b33291
2011-09-28 Kazuhiko
* support domain_tree and report_tree in WebSection_getDocumentValueList.
2011-02-22 Kazuhiko
2011-02-22 Kazuhiko
* remove portal_type configuration from listbox of WebSection_viewAsWeb, WebSection_viewContent and WebSection_viewContentList.
* remove portal_type configuration from listbox of WebSection_viewAsWeb, WebSection_viewContent and WebSection_viewContentList.
...
...
bt5/erp5_web/bt/revision
View file @
c9b33291
1061
1062
\ 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