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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Customized report sorting by date in dashlets
Pages: [1]

Author Topic: Customized report sorting by date in dashlets  (Read 842 times)

roberto.salvo

  • Guest
Customized report sorting by date in dashlets
October 01, 2010, 05:57:47 am
Hi guys,
I would like to sort by date the customized reports created by us and visible on their own dashlets. I saw that it's possible to sort only the activity dashlet, could someone tell me what files I should change?

Thx

Bye

Rob

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customized report sorting by date in dashlets
October 01, 2010, 06:00:10 am
Nope currently it is not possible. You will need to add pager support for other reports.

Kurund
Found this reply helpful? Support CiviCRM

roberto.salvo

  • Guest
Re: Customized report sorting by date in dashlets
October 01, 2010, 06:41:52 am
Hi Kurund,
and for example: if I log in with the account of operator, could I see only the activities assigned to me in the activity dashlet?
What file do i have to modify?

P.s.:
Any news for my post about the configure dashboard button, did you read it?

Thx

Rob

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customized report sorting by date in dashlets
October 01, 2010, 08:35:21 am
Quote
What file do i have to modify?
Check CRM/Dashlet/Page/Activity.php

Quote
Any news for my post about the configure dashboard button, did you read it?
I think it is already answered.

Kurund
Found this reply helpful? Support CiviCRM

roberto.salvo

  • Guest
Re: Customized report sorting by date in dashlets
October 01, 2010, 08:50:01 am
Thx ;)

Could you suggest me where to find the file containing the query that populates the customized report "My activities report" that I created.
I can't find it ???
I need to modify the query adding "ORDER BY activity_date" or something similar!!

Thx in advance

Rob

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Customized report sorting by date in dashlets
October 01, 2010, 08:57:09 am
In CRM/Dashlet/Page/Activity.php around line 91

Quote
require_once 'CRM/Activity/Selector/Activity.php';
        $selector   = new CRM_Activity_Selector_Activity($contactID, $permission, $admin, 'home' );

You will have to debug it.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Customized report sorting by date in dashlets

This forum was archived on 2017-11-26.