Open jayvdb opened 10 years ago
@jayvdb Please add a test case to EntitiesByPropertyValueApiTest
for this new behavior.
@jayvdb Thanks for the patch. Do you have an actual use cases where you need XML rather than JSON?
OK, I'll add a test case; probably tomorrow when I get back home.
The use case is I show people the API interface, and it is better to not have an error if 'format=json' is omitted.
This Api fails when used with format=xml, as it does not instruct the API what name should be used for each member of the array.
Use setIndexedTagName to set the members to be an 'entity' to match the outer 'entities'.