Bug: Using localized text for DataField (1.40)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 years ago
During my translation of 1.40 I came across this bug:

In "Administration/Modules/OrderDetails.ascx.cs", line 437 you have this:

<asp:BoundField DataField="<% $NopResources:Admin.OrderDetails.Products.Quantity %>"
HeaderText="Quantity" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
ItemStyle-HorizontalAlign="Center"></asp:BoundField>

Clearly, this DataField should not use the localized text, but rather just:

DataField="Quantity"

Contrary, the HeaderText attribute should probably use the localized text resource :-)
14 years ago
You're right. Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.