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

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

  • 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! – Jon G - Megaphone Tech Dec 20 '17 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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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