Commit 9cfc2768 authored by Aaron Wells's avatar Aaron Wells Committed by Gerrit Code Review
Browse files

Merge "Tag links now for current owner not just owner = 1 (bug #1196213)"

parents c680a5f7 2125398d
......@@ -3155,6 +3155,7 @@ function build_portfolio_search_html(&$data) {
$smarty = smarty_core();
$smarty->assign_by_ref('data', $data->data);
$smarty->assign('owner', $data->owner->id);
$data->tablerows = $smarty->fetch('portfoliosearchresults.tpl');
$pagination = build_pagination(array(
'id' => 'results_pagination',
......
......@@ -6,7 +6,7 @@
<div class="postedon">{$result->ctime}</div>
<div class="detail">{$result->description|str_shorten_html:100|strip_tags|safe}</div>
{if $result->tags}
<div class="tags"><label>{str tag=tags}:</label> {list_tags tags=$result->tags owner=1}</div>
<div class="tags"><label>{str tag=tags}:</label> {list_tags tags=$result->tags owner=$owner}</div>
{/if}
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment