Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several fixes to export reports #7872

Open
wants to merge 1 commit into
base: staging
from

Conversation

@kuzmany
Copy link
Contributor

commented Sep 11, 2019

Please be sure you are submitting this against the staging branch.

Q A
Bug fix?
New feature?
Automated tests included?
Related user documentation PR URL
Related developer documentation PR URL
Issues addressed (#s or URLs)
BC breaks?
Deprecations?

Description:

While I worked on https://github.com/mautic/mautic/pull/7871/files I noticed few inconsistent issues with export results. The main issue was with regular columns and aggregated columns.

Steps to reproduce the bug:

  1. Create basic report. For example page hits with URL, date_hit and COUNT date_hit. You should see basic report

image

  1. Export to CSV - shoud works OK
  2. Export to HTML - should see just two columns

image

  1. Export to excel - should see wrong export

image

  1. Try also order report by Count date_hit column - should return nothing or 500 error (check logs)

Steps to test this PR:

  1. Load up this PR
  2. Repeat all steps to reproduce. Should works good

@kuzmany kuzmany added this to the 2.16.0 milestone Sep 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.