Commit 2125398d authored by Robert Lyon's avatar Robert Lyon
Browse files

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



Change-Id: Id8b24afcd7dcfc315b1f62cf70e57de289ba784f
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent c5b1e282
......@@ -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>
......
Markdown is supported
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