Skip to content

Commit

Permalink
Merge pull request #119 from miqrogroove/patch-3
Browse files Browse the repository at this point in the history
Use the `tags` access point instead of text search when clicking a tag.
  • Loading branch information
collectiveaccess authored Sep 5, 2024
2 parents 1cd2bc6 + b20c4ce commit 0d45716
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 0d45716

Please sign in to comment.