+ ';
- $memberNames = array();
- foreach($memberPairs as $memberId => $member)
- {
- if(empty($memberId)) continue;
- $memberNames[] = $member;
- }
- $membersPinYin = common::convert2Pinyin($memberNames);
+ $usersPinYin = common::convert2Pinyin($users);
}
else
{
@@ -172,7 +166,7 @@
foreach($users as $key => $value)
{
if(empty($key) or $key == 'closed') continue;
- $searchKey = $withSearch ? ('data-key="' . zget($membersPinYin, $value, '') . " @$key\"") : "data-key='@$key'";
+ $searchKey = $withSearch ? ('data-key="' . zget($usersPinYin, $value, '') . " @$key\"") : "data-key='@$key'";
echo html::a('javascript:$(".table-actions #assignedTo").val("' . $key . '");setFormAction("' . $actionLink . '")', ' ' . $value, '', $searchKey);
}
echo "
";
diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php
index 1c964a04da..b7bd6c5ea5 100644
--- a/module/product/view/browse.html.php
+++ b/module/product/view/browse.html.php
@@ -297,13 +297,7 @@