Commit e4acf504 authored by Yusei Tahara's avatar Yusei Tahara

2008-2-7 yusei

* Fixed filtering bug on accounting module list view when jump in from entity.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19121 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8276c08a
...@@ -738,7 +738,7 @@ destination_section_where_expression</string> </value> ...@@ -738,7 +738,7 @@ destination_section_where_expression</string> </value>
<dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n <dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n
-- SOURCE SECTION!!!!!\n -- SOURCE SECTION!!!!!\n
<dtml-if entity>\n <dtml-if entity>\n
AND delivery.source_section_uid =<dtml-var "restrictedTraverse(entity).getUid()">\n AND delivery.destination_section_uid =<dtml-var "restrictedTraverse(entity).getUid()">\n
</dtml-if>\n </dtml-if>\n
<dtml-if section_category>\n <dtml-if section_category>\n
AND category.uid = delivery.source_section_uid\n AND category.uid = delivery.source_section_uid\n
...@@ -921,7 +921,7 @@ UNION\n ...@@ -921,7 +921,7 @@ UNION\n
<dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n <dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n
-- DESTINATION SECTION!!!!!\n -- DESTINATION SECTION!!!!!\n
<dtml-if entity>\n <dtml-if entity>\n
AND delivery.destination_section_uid = <dtml-var "restrictedTraverse(entity).getUid()">\n AND delivery.source_section_uid = <dtml-var "restrictedTraverse(entity).getUid()">\n
</dtml-if>\n </dtml-if>\n
<dtml-if section_category>\n <dtml-if section_category>\n
AND category.uid = delivery.destination_section_uid\n AND category.uid = delivery.destination_section_uid\n
...@@ -1382,7 +1382,7 @@ UNION\n ...@@ -1382,7 +1382,7 @@ UNION\n
<dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n <dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n
-- SOURCE SECTION!!!!!\n -- SOURCE SECTION!!!!!\n
<dtml-if entity>\n <dtml-if entity>\n
AND delivery.source_section_uid =<dtml-var "restrictedTraverse(entity).getUid()">\n AND delivery.destination_section_uid =<dtml-var "restrictedTraverse(entity).getUid()">\n
</dtml-if>\n </dtml-if>\n
<dtml-if section_category>\n <dtml-if section_category>\n
AND category.uid = delivery.source_section_uid\n AND category.uid = delivery.source_section_uid\n
...@@ -1565,7 +1565,7 @@ UNION\n ...@@ -1565,7 +1565,7 @@ UNION\n
<dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n <dtml-var "restrictedTraverse(resource).getUid()"> </dtml-if>\n
-- DESTINATION SECTION!!!!!\n -- DESTINATION SECTION!!!!!\n
<dtml-if entity>\n <dtml-if entity>\n
AND delivery.destination_section_uid = <dtml-var "restrictedTraverse(entity).getUid()">\n AND delivery.source_section_uid = <dtml-var "restrictedTraverse(entity).getUid()">\n
</dtml-if>\n </dtml-if>\n
<dtml-if section_category>\n <dtml-if section_category>\n
AND category.uid = delivery.destination_section_uid\n AND category.uid = delivery.destination_section_uid\n
......
2008-2-7 yusei
* Fixed filtering bug on accounting module list view when jump in from entity.
2008-2-5 yusei 2008-2-5 yusei
* Fixed third party column issue and optimize the query. * Fixed third party column issue and optimize the query.
......
593 598
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment