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.
Il y a 14 ans
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 :-)
Il y a 14 ans
You're right. Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.