shoppingmallv2 init...
This commit is contained in:
parent
55ad4b8792
commit
0e11ca3e66
@ -142,6 +142,7 @@ function getFieldIndex_Row_ProductHelper($field, $entity, array $viewDatas): str
|
||||
switch ($field) {
|
||||
case 'title':
|
||||
case 'name':
|
||||
//front는 table을 사용하지 않는 점 주의
|
||||
return anchor(
|
||||
current_url() . '/view/' . $entity->getPrimaryKey() . '?category=' . $viewDatas['category']->getPrimaryKey(),
|
||||
$value,
|
||||
@ -177,7 +178,7 @@ function getFieldIndex_Row_ProductHelper_Admin($field, $entity, array $viewDatas
|
||||
);
|
||||
return sprintf("<td>%s</td>", getFieldForm_ProductHelper($field, $entity->$field, $viewDatas, $attributes));
|
||||
}
|
||||
return getFieldIndex_Row_ProductHelper($field, $entity, $viewDatas);
|
||||
return sprintf("<td>%s</td>", getFieldIndex_Row_ProductHelper($field, $entity, $viewDatas));
|
||||
break;
|
||||
}
|
||||
} //
|
||||
Loading…
Reference in New Issue
Block a user