Add export function for event data
Fix bug in constructing the base search url in sadmin