Skip to content

Commit

Permalink
#7230 Fixed rendering of "CustomerFullName" in order list
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshelev committed Jun 13, 2024
1 parent fdb6559 commit 3c09000
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Presentation/Nop.Web/Areas/Admin/Views/Order/List.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@

function renderColumnCustomer(data, type, row, meta) {
var link = '@Url.Content("~/Admin/Customer/Edit/")' + row.CustomerId;
return `${row.CustomerFullName}<br /><a href="${link}">${data}</a>`;
var textRenderer = $.fn.dataTable.render.text().display;
return `${textRenderer(row.CustomerFullName)} <br /><a href="${link}">${data}</a > `;
}

$(function() {
Expand Down

0 comments on commit 3c09000

Please sign in to comment.