Skip to content

Instantly share code, notes, and snippets.

@elchele
Created January 2, 2018 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elchele/945fa5f17d09ec9705bbce03261b43af to your computer and use it in GitHub Desktop.
Save elchele/945fa5f17d09ec9705bbce03261b43af to your computer and use it in GitHub Desktop.
Vardefs extension for Tracker index -- for versions prior to 7.7.2
<?php
/* File: ./custom/Extension/modules/Trackers/Ext/Vardefs/idx_user_del_vis.ext.php */
$dictionary['Tracker']['indices'][] = array (
'name' => 'idx_tracker_userid_del_vis',
'type' => 'index',
'fields' =>
array (
0 => 'user_id',
1 => 'deleted',
2 => 'visible',
),
);
?>
@elchele
Copy link
Author

elchele commented Jan 2, 2018

Apply contents to a file in the path specified at the top of this Gist and perform a Quick Repair and Rebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment