Merge branch 'hotfix-2.1.22'
Fix to the download of attribute search results as XML

- now uses the unified __fetchEvent method to retrieve the events

- __fetchEvent has a new optional parameter "idList" which restricts the results to an array of event IDs.
Merge branch 'hotfix-2.1.23' into develop