From a9a706841706f2fe2162574f43b6a2ad717044a0 Mon Sep 17 00:00:00 2001
From: Ayush Tiwari <ayush.tiwari@nexedi.com>
Date: Wed, 13 Dec 2017 16:04:38 +0100
Subject: [PATCH] [erp5_free_subscription]: Re-export Catalog Methods

---
 .../z_related_destination_free_subscription_resource.xml    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_free_subscription/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_free_subscription_resource.xml b/bt5/erp5_free_subscription/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_free_subscription_resource.xml
index 2290b5757c..43f6765711 100644
--- a/bt5/erp5_free_subscription/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_free_subscription_resource.xml
+++ b/bt5/erp5_free_subscription/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_free_subscription_resource.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="SQL" module="Products.ZSQLMethods.SQL"/>
+      <global name="SQL Method" module="erp5.portal_type"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -24,6 +24,10 @@ query_table="catalog"</string> </value>
             <key> <string>id</string> </key>
             <value> <string>z_related_destination_free_subscription_resource</string> </value>
         </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>SQL Method</string> </value>
+        </item>
         <item>
             <key> <string>title</string> </key>
             <value> <string></string> </value>
-- 
GitLab