From 9529f3751a0d20f3e0909d448461805f8d63574d Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 2 Oct 2007 08:13:15 +0000
Subject: [PATCH] Select some more columns which are needed by inventory
 optimisation code in the final result merge pass.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16765 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_core/Resource_zGetInventoryList.xml     | 4 ++++
 product/ERP5/bootstrap/erp5_core/bt/revision                  | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml
index ea51a44cf7..e1930b6f15 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml
@@ -278,8 +278,10 @@ SELECT\n
 </dtml-if>\n
 <dtml-if inventory_list>\n
   ,node.title AS node_title,\n
+  node.uid AS node_uid,\n
   node.relative_url AS node_relative_url,\n
   section.title AS section_title,\n
+  section.uid AS section.uid,\n
   section.relative_url AS section_relative_url,\n
   resource.title AS resource_title,\n
   resource.relative_url AS resource_relative_url,\n
@@ -399,8 +401,10 @@ SELECT\n
 </dtml-if>\n
 <dtml-if inventory_list>\n
   ,node.title AS node_title,\n
+  node.uid AS node_uid,\n
   node.relative_url AS node_relative_url,\n
   section.title AS section_title,\n
+  section.uid AS section_uid,\n
   section.relative_url AS section_relative_url,\n
   resource.title AS resource_title,\n
   resource.relative_url AS resource_relative_url,\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index d9bf67ee84..629f34ce87 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-484
\ No newline at end of file
+485
-- 
2.30.9