From 51cfe1e499d4281e41f23d3c2bdc363376d310a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Tue, 3 Mar 2009 10:35:06 +0000
Subject: [PATCH] fix catalog params so that stock.quantity is return as
 quantity column

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25808 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_administration/Alarm_checkStockTable.xml  | 2 +-
 bt5/erp5_administration/bt/revision                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_checkStockTable.xml b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_checkStockTable.xml
index 7e1422c005..87712528e1 100644
--- a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_checkStockTable.xml
+++ b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_checkStockTable.xml
@@ -53,7 +53,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>catalog_kw = {\'select_expression\': \'stock.quantity\', \'stock.quantity\': \'!=0\' }\n
+            <value> <string>catalog_kw = {\'select_dict\': {\'quantity\':\'stock.quantity\'}, \'stock.quantity\': \'!=0\' }\n
 return context.ERP5Site_checkCatalogTable(bundle_object_count=bundle_object_count,\n
                                         bundle_offset=bundle_offset,\n
                                         property_override_method_id=\'ERP5Site_getStockTableFilterDict\',\n
diff --git a/bt5/erp5_administration/bt/revision b/bt5/erp5_administration/bt/revision
index f70d7bba4a..920a139664 100644
--- a/bt5/erp5_administration/bt/revision
+++ b/bt5/erp5_administration/bt/revision
@@ -1 +1 @@
-42
\ No newline at end of file
+43
-- 
2.30.9