CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Expected behaviour when drilling in to a report build from template
Pages: [1]

Author Topic: Expected behaviour when drilling in to a report build from template  (Read 1197 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Expected behaviour when drilling in to a report build from template
January 17, 2010, 08:31:11 pm
Hi - so I build a report eg from Donor (Summary) and use it for providing results for just a set of countries for example. instance/25

I also build a report eg from Donor (Details) and use it for providing results for a particular Group for example. instance/24

When I use Report A (Monthly sales Countries XYZ) (Summary)) I get my list of Contribution Type summaries by month as required.

If I click on one of the months in the results table I go to a URL eg /civicrm/report/instance/24?reset=1&force=1&receive_date_from=20091201&receive_date_to=20091231

BUT note that the above URL is pointing to instance/24 when the report I (and the link) was on was instance/25

The resulting page therefore comes up with the 'wrong' title (from a users perspective)

And when I look to see what Filters are being applied I see neither the countries being applied (as per instance/25) nor the Group as per instance/24.

So am left uncertain about the results I am looking at except that there were 3 listed in the row I was clicking on, and I am now seeing 289.

Have I munted something? Or is this some pecular behaviour because instance/3 is meant to drill down to instance/4?

And I just spotted now that if I try to drill down on instance/3 now, it is taking me through to instance/24

So I tried this on demo and same issue - http://drupal.demo.civicrm.org/civicrm/report/instance/3&reset=1 - mouseover one of monthly results and it gives eg http://drupal.demo.civicrm.org/civicrm/report/instance/25?reset=1&force=1&receive_date_from=20090401&receive_date_to=20090430
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Expected behaviour when drilling in to a report build from template
January 18, 2010, 04:58:54 am
peter,

Both the reports/instances are actually separate reports with different purpose.

Contribution Summary report gives contribution statistics by month for example, and allows you drill down further by taking to another report - Contribution Detail which shows you the list of contributions that were made in a particular month/week/year (and so on).

And since they all are different reports/instances, you see different title / form-fields etc.

For now there is no simple way to remove those links other than altering the code CRM/Report/Form/Contribute/Summary::alterDisplay() method (note method is same for all the reports). May be we can introduce some kind of setting for this ? Or if you have ideas (patch even better) to make it less confusing, please go ahead :)
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Expected behaviour when drilling in to a report build from template
January 18, 2010, 10:52:03 am
Thanks Deepak - not sure if i quite conveyed the issue - yes i appreciate these are different reports - and it makes sense that Summary links through to Details. But if we build a Report off Summary it affects how the original Report ie /3 works via the links.

What I think might make more sense is that if we create a Report off /3 then clicking on the links within our rebuilt 3 should take us to a Detail report that at least has the same Name as the Summary report we are drilling in to.

Will try and get Eileen to look in to this at some point.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Expected behaviour when drilling in to a report build from template

This forum was archived on 2017-11-26.