solved Issue Tracker - Searchable Issues

PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
How can I make "Issues" show in the global search?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 09/25/18 07:15:28PM
michael
@michael
6 years ago
7,715 posts
you'll need to use the 'search_fields' listener to add jrTracker to the list of modules that are enabled for search.

So in your listener you'll get a $_data array like this:
$_data = array(
 'jrAudio' => array('audio_title,audio_genre,audio_album' => 52),
......
)
where 52 is the language id of the name of the title in the language file, 52 is "Audio Tracks".

Then add in the jrTracker module to that array with the fields you want to search, probably
$_data = array(
 'jrAudio' => array('audio_title,audio_genre,audio_album' => 52),
......
 'jrTracker' => array('tracker_text,tracker_title' => 36)
)
PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
It works great!!

Thank you!


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

Tags