-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Web UI
<nuxeo-data-table-column name="[[i18n('label.ui.version')]]" field="uid:major_version" sort-by="uid:major_version,uid:minor_version" flex="50"> <template> {{_nuxeoVersion(item)}} </template> </nuxeo-data-table-column>
In nuxeo document version is represented by two fields and when client wants to order documents by version both elements should be declared in column. When search is desc from high to low , it does work fine but when search is reversed then results are totally random
problem might be in
_sortDirectionChanged(e) of PageProviderDisplayBehavior class in nuxeo ui elements.
Long story short. Version is a key data element and one way or another we should make it sortable.