Commit 8ba7fa96 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_software_pdm: Fix FullText indexation of Software Publication Line and Software Release

parent b4748820
......@@ -60,11 +60,7 @@
<item>
<key> <string>searchable_text_method_id</string> </key>
<value>
<tuple>
<string>title</string>
<string>description</string>
<string>short_title</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
......@@ -2,5 +2,5 @@ r = ''
software_product = context.getFollowUpValue(portal_type='Software Product')
if software_product:
r = software_product.getProductLineTitle() + ' ' + software_product.getDescription() + software_product.getTitle()
r = software_product.getProductLineTitle('') + ' ' + software_product.getDescription('') + software_product.getTitle('')
return r
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