From 82554a4a9e39c26afbb7885733e38dcb7079ffaa Mon Sep 17 00:00:00 2001
From: Guillaume Michon <guillaume@nexedi.com>
Date: Fri, 3 Mar 2006 13:25:02 +0000
Subject: [PATCH] Initial import. It is used by getTrackingList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5946 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../sql/erp5_mysql/z_related_node_uid_from_item       | 11 +++++++++++
 .../sql/erp5_mysql/z_related_resource_uid_from_item   | 11 +++++++++++
 .../sql/erp5_mysql/z_related_section_uid_from_item    | 11 +++++++++++
 3 files changed, 33 insertions(+)
 create mode 100755 product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item
 create mode 100755 product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item
 create mode 100755 product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item

diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item b/product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item
new file mode 100755
index 0000000000..9b0ed54c5d
--- /dev/null
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_related_node_uid_from_item
@@ -0,0 +1,11 @@
+<dtml-comment>
+title:
+connection_id:erp5_sql_connection
+max_rows:1000
+max_cache:100
+cache_time:0
+class_name:
+class_file:
+</dtml-comment>
+<params>table_0</params>
+<dtml-var table_0>.uid = item.node_uid
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item b/product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item
new file mode 100755
index 0000000000..505df98669
--- /dev/null
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_related_resource_uid_from_item
@@ -0,0 +1,11 @@
+<dtml-comment>
+title:
+connection_id:erp5_sql_connection
+max_rows:1000
+max_cache:100
+cache_time:0
+class_name:
+class_file:
+</dtml-comment>
+<params>table_0</params>
+<dtml-var table_0>.uid = item.resource_uid
\ No newline at end of file
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item b/product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item
new file mode 100755
index 0000000000..36480c5747
--- /dev/null
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_related_section_uid_from_item
@@ -0,0 +1,11 @@
+<dtml-comment>
+title:
+connection_id:erp5_sql_connection
+max_rows:1000
+max_cache:100
+cache_time:0
+class_name:
+class_file:
+</dtml-comment>
+<params>table_0</params>
+<dtml-var table_0>.uid = item.section_uid
\ No newline at end of file
-- 
2.30.9