-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF07, 11.1, 2021.0
-
Component/s: Web UI
-
Release Notes Summary:Sorting options are back on nuxeo-data-table.
-
Browser:
-
Sprint:nxGang Sprint 11.1.9
-
Story Points:3
Sorting options have disappeared probably since https://github.com/nuxeo/nuxeo-web-ui/commit/ce727a8967b19cab6a70b27e10001ce7de75dd78#diff-1d0ba383fa18d27e79454625cfd9dff2L339
Fix may be
m3 fox@fox-laptop:~/workspace/nuxeo-web-ui$ git diff diff --git i/elements/nuxeo-results/nuxeo-document-content-behavior.js w/elements/nuxeo-results/nuxeo-document-content-behavior.js index 6b440534..57e5768b 100644 --- i/elements/nuxeo-results/nuxeo-document-content-behavior.js +++ w/elements/nuxeo-results/nuxeo-document-content-behavior.js @@ -123,7 +123,7 @@ export const DocumentContentBehavior = [ }, _displaySort(document, field) { - return this._canSort(document) ? field : undefined; + return this._canSort(document, this.sortOptions) ? field : undefined; }, // function used by nuxeo-data-grid and nuxeo-data-table to check if a list item is a drop target
- is related to
-
ELEMENTS-956 Orderable folder arrows are not usable
- Resolved
- is required by
-
NXP-27054 Spreadsheet sort order does not match current content view
- Resolved
- Is referenced in