Fix for SQL query
Resolves #1848: Added action AdvancedReportGetSharedAction
AdvancedReportGetSharedAction now loads associations needed on client side
refactoring advanced reports
refactoring advanced reports
Merge branch 'release_v3.9.0' into dev-loyola