1

When opening the Constituent (summary) report and clicking on a name in the results list, the page which refers to the specific Constituent detail doesn't open. Reason for that seems to be the number of activities we have in our database.

Wouldn't it make more sense to change the report, so that, when clicking the name of the contact, it links to the specific contact page instead of linking to the Constituent detail report of that person?

We are using CMS Drupal and CiviCRM 4.6.33.

2 Answers 2

2

The "No Drill Down" extension will do that for you.

1
  • This is correct - with one caveat. I'm the author of this extension, and I received a bug report today that it doesn't work on this one particular report template. I suspect it WILL work on Civi 4.6, but if not, watch out for an update later in the week! Dec 20, 2017 at 2:35
1

The extension didn't work for me, but I noticed the pattern that it was looking for is different on a WordPress installation. I'm no Civi expert, but I tried rewriting these two lines in nodrilldown.php:

/*
$pattern = '/\/civicrm\/report\/instance\/\d*\?reset=1&force=1&id_op=eq&id_value=/';
$replace = '/civicrm/contact/view?reset=1&cid=';
*/
$pattern = '/\=civicrm\/report\/instance\/\d*&reset=1&force=1&id_op=eq&id_value=/';
$replace = '=civicrm/contact/view&reset=1&cid=';

It seems to work on WordPress.

3
  • Please open an issue on the Github for the extension? I'll take a look when I have a moment! Apr 27, 2018 at 5:12
  • Will do. I'm sure a generalized solution can be implemented much more elegantly! Apr 29, 2018 at 17:35
  • I just released a new version of No Drill Down which fixes this issue. May 27, 2018 at 1:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.