Commit 6e088d2f authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xiaowu Zhang

Optimize search of Shipping Services

parent 207cedd4
......@@ -198,9 +198,9 @@ portal = context.getPortalObject()\n
# XXX hardcoded category\n
shipping_product_line_category_uid = portal.portal_categories.product_line.shipping.getUid()\n
\n
return [r.getObject() for r in portal.portal_catalog(\n
product_line_uid=shipping_product_line_category_uid,\n
portal_type=portal.getPortalResourceTypeList())]\n
return portal.portal_catalog(product_line_uid=shipping_product_line_category_uid,\n
portal_type=portal.getPortalResourceTypeList(), \n
validation_state="published")\n
</string> </value>
</item>
<item>
......
300
\ No newline at end of file
301
\ 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