Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #50356 All Revisions ] Back to Issue ]
Summary 0050356: Do not used generated JS code for defining sort normalizers
Revision 2022-09-27 17:25 by caristu
Description Currently we are using some generated code to define the sort normalizer function used by some references. See an example here[1].

Instead of using generating code for defining the function:

sortNormalizer: function (item, field, context){ return OB.Utilities.yesNoSortNormalizer(item, field, context);}

we should generate agnostic content

sortNormalizer: OB.Utilities.yesNoSortNormalizer

[1] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/YesNoUIDefinition.java#L68 [^]
Revision 2022-09-27 17:23 by caristu
Description Currently we are using some generated code to define the sort normalizer function used by some references. See an example here[1].

Instead of using generating code for defining the function:

sortNormalizer: function (item, field, context){ return OB.Utilities.yesNoSortNormalizer(item, field, context);}

we should generate agnostic content

sortNormalizer: OB.Utilities.yesNoSortNormalizer


https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/YesNoUIDefinition.java#L68 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker