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
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
562483b7
Commit
562483b7
authored
May 14, 2012
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no need to insert data into predicate table if dict is empty
parent
4c70a3cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_list.xml
...al_catalog/erp5_mysql_innodb/z_catalog_predicate_list.xml
+3
-1
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_list.xml
View file @
562483b7
...
...
@@ -59,7 +59,9 @@ predicate_property_dict</string> </value>
<dtml-let predicate_list="[]">
\n
<dtml-in
prefix=
"loop"
expr=
"_.range(_.len(uid))"
>
\n
<dtml-if
"isPredicate[loop_item]"
>
\n
<dtml-call
expr=
"predicate_list.append(loop_item)"
>
\n
<dtml-if
expr=
"_.len(predicate_property_dict[loop_item]) > 0"
>
\n
<dtml-call
expr=
"predicate_list.append(loop_item)"
>
\n
</dtml-if>
\n
</dtml-if>
\n
</dtml-in>
\n
<dtml-if
expr=
"_.len(predicate_list) > 0"
>
\n
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
View file @
562483b7
221
\ No newline at end of file
224
\ 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