Commit 6208780e authored by Cristian Berner's avatar Cristian Berner 💎 Committed by Asier Lostalé
Browse files

Fixes ISSUE-44562: Sorts values of product characteristics alphabetically

Previously product characterstic values in popup filter were not sorted,
now those are sorted following alphanumeric order.
parent 39503d76
......@@ -11,7 +11,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
* All portions are Copyright (C) 2013-2019 Openbravo SLU
* All portions are Copyright (C) 2013-2020 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
************************************************************************
......@@ -275,6 +275,10 @@ isc.OBCharacteristicsFilterDialog.addProperties({
) {
this.checkInitialNodes(this.topElement.creator.internalValue);
}
// Sort tree, so all values that arrived are sorted alphanumerically
if (this.canSort) {
this.sort();
}
};
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment