CRM-11227 fix pdf generation bug
CRM-13948

Hook alter mail params needs more info (id)
fix on typo
whitespace
backport form patch to make bao optional in table spec
CRM-14012 - Contribution total values incorrect for permissioned users
CRM-14012 - need to do a group by to mitigate the left joins