Commit d366868b authored by Romain Courteaud's avatar Romain Courteaud

Use exact match to search the title.

parent 676f082a
...@@ -100,7 +100,7 @@ if (portal.portal_activities.countMessageWithTag(tag) > 0):\n ...@@ -100,7 +100,7 @@ if (portal.portal_activities.countMessageWithTag(tag) > 0):\n
# Check if it already exists\n # Check if it already exists\n
request_hosting_subscription_list = portal.portal_catalog(\n request_hosting_subscription_list = portal.portal_catalog(\n
portal_type=hosting_subscription_portal_type,\n portal_type=hosting_subscription_portal_type,\n
title=software_title,\n title={\'title\': software_title, \'key\': \'ExactMatch\'},\n
validation_state="validated",\n validation_state="validated",\n
default_destination_section=person.getRelativeUrl(),\n default_destination_section=person.getRelativeUrl(),\n
limit=2,\n limit=2,\n
......
760 761
\ No newline at end of file \ No newline at end of file
...@@ -106,7 +106,7 @@ while True:\n ...@@ -106,7 +106,7 @@ while True:\n
request_software_instance_list = portal.portal_catalog(\n request_software_instance_list = portal.portal_catalog(\n
# Fetch all portal type, as it is not allowed to change it\n # Fetch all portal type, as it is not allowed to change it\n
portal_type=["Software Instance", "Slave Instance"],\n portal_type=["Software Instance", "Slave Instance"],\n
title=software_title,\n title={\'query\': software_title, \'key\': \'ExactMatch\'},\n
specialise_uid=hosting_subscription.getUid(),\n specialise_uid=hosting_subscription.getUid(),\n
# Do not fetch destroyed instances\n # Do not fetch destroyed instances\n
# XXX slap_state=["start_requested", "stop_requested"],\n # XXX slap_state=["start_requested", "stop_requested"],\n
......
40 41
\ No newline at end of file \ 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