Skip to content

Commit

Permalink
Merge branch 'master' of github.com:systopia/de.systopia.fastactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed Jun 19, 2017
2 parents ffe3a4a + 3801d48 commit ab47987
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastactivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ function fastactivity_civicrm_angularModules(&$angularModules) {
function fastactivity_civicrm_tabs ( &$tabs, $contactID ) {
// We disable the built-in Activities tab under "Display Preferences" automatically when extension is enabled.
// It is not enough to just hide it as the built-in count functions will still be executed and this causes a performance issue on large databases.
// if you'd like to use the regular and the fast activity tabs side-by-side maybe consider
// reversing and adjusting https://github.com/systopia/de.systopia.fastactivity/commit/aea4a43a22d4b89590bf953447dbfc1f3fb0e762

// ADD the fast activity tab as a new tab
$params = array('contact_id' => $contactID);
$tabs[] = array('title' => ts('Activities'),
Expand Down

0 comments on commit ab47987

Please sign in to comment.