Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
admin searchresult display by USER_DISPLAY_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Apr 24, 2015
1 parent 749c52f commit 7a4a720
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -256,8 +256,8 @@ public function recursiveSearchGroups($baseGroup, $term)
"ajxp_mime" => "user"
);
if(in_array($nodeKey, $this->currentBookmarks)) $meta = array_merge($meta, array("ajxp_bookmarked" => "true", "overlay_icon" => "bookmark.png"));
echo AJXP_XMLWriter::renderNode($nodeKey, $userId, true, $meta, true, false);

$userDisplayName = $userObject->mergedRole->filterParameterValue("core.conf", "USER_DISPLAY_NAME", "ajxp_user", $userId);
echo AJXP_XMLWriter::renderNode($nodeKey, $userDisplayName, true, $meta, true, false);
}

}
Expand Down

0 comments on commit 7a4a720

Please sign in to comment.