Answers.Body: <p>The <a href="https://civicrm.org/extensions/no-drill-down" rel="nofollow noreferrer">"No Drill Down" extension</a> will do that for you.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-20T02:35:26.193Z
Answers.Text: 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!
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T17:47:02.207Z
Answers.LastActivityDate: 2017-12-19T17:47:02.207Z
Answers.UserDisplayName: Aidan
Answers.Body: <p>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:</p>
  
  <pre><code>/*
  $pattern = '/\/civicrm\/report\/instance\/\d*\?reset=1&amp;amp;force=1&amp;amp;id_op=eq&amp;amp;id_value=/';
  $replace = '/civicrm/contact/view?reset=1&amp;cid=';
  */
  $pattern = '/\=civicrm\/report\/instance\/\d*&amp;amp;reset=1&amp;amp;force=1&amp;amp;id_op=eq&amp;amp;id_value=/';
  $replace = '=civicrm/contact/view&amp;reset=1&amp;cid=';
  </code></pre>
  
  <p>It seems to work on WordPress.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-27T05:12:32.517Z
Answers.Text: Please open an issue on the Github for the extension? I'll take a look when I have a moment!
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-29T17:35:04.190Z
Answers.Text: Will do. I'm sure a generalized solution can be implemented much more elegantly!
Answers.UserDisplayName: Mark Westergaard
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-27T01:30:23.220Z
Answers.Text: I just released a new version of No Drill Down which fixes this issue.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-26T02:53:05.167Z
Answers.LastActivityDate: 2018-04-26T02:53:05.167Z
Answers.UserDisplayName: Mark Westergaard
Body: <p>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.</p>
  
  <p>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?</p>
  
  <p><em>We are using CMS Drupal and CiviCRM 4.6.33.</em> </p>
  
Tags: <civireport>
Title: Constituent (summary) report: link to contact instead of link to constituent detail?
ThreadText: # Constituent (summary) report: link to contact instead of link to constituent detail?
  
  (Asked by: username_0 on 2017-12-19)
  
  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.*
  
  **Tags:** civireport
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-12-19. Score: 2
  
  The ["No Drill Down" extension](https://civicrm.org/extensions/no-drill-down) will do that for you.
  
  > **Comments:**
  > **username_2**: 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!  
  
  ---
  
  ### Answer by username_3 on 2018-04-26. Score: 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.
  
  > **Comments:**
  > **username_2**: Please open an issue on the Github for the extension? I'll take a look when I have a moment!  
  > **username_3**: Will do. I'm sure a generalized solution can be implemented much more elegantly!  
  > **username_2**: I just released a new version of No Drill Down which fixes this issue.  
  
  ---
  
  