Skip to content

Commit

Permalink
Use the tags access point instead of text search when clicking a tag.
Browse files Browse the repository at this point in the history
Fixes #116
  • Loading branch information
miqrogroove authored Sep 5, 2024
1 parent 923cf8e commit b20c4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/themeHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ function caDetailItemComments($po_request, $pn_item_id, $t_item, $va_comments, $
if(is_array($va_tags) && sizeof($va_tags) > 0){
$va_tag_links = array();
foreach($va_tags as $vs_tag){
$va_tag_links[] = caNavLink($po_request, $vs_tag, '', '', 'MultiSearch', 'Index', array('search' => $vs_tag));
$va_tag_links[] = caNavLink($po_request, $vs_tag, '', '', 'MultiSearch', 'Index', array('search' => "tags:$vs_tag"));
}
$vs_tmp .= "<h2>"._t("Tags")."</h2>\n
<div id='tags'>".implode(", ", $va_tag_links)."</div>";
Expand Down

0 comments on commit b20c4ce

Please sign in to comment.