Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24832

Implement ordered folder support for document types inheriting of OrderedFolder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10-HF02
    • Fix Version/s: 9.10-HF07, 10.2
    • Component/s: Web UI
    • Release Notes Summary:
      Ordered folder support is extended to document types which inherit from OrderedFolder type.
    • Backlog priority:
      700
    • Sprint:
      nxGang Sprint 10.2.3
    • Story Points:
      1

      Description

      Since NXP-24087, it only works for OrderedFolder document type. We must extend the support to any document type which extends OrderedFolder.

      From this [commit|https://github.com/nuxeo/nuxeo-web-ui/pull/144/commits/3a136fcc287cf1ba4ace50eef885021f58bb484f}, you can see that the document type which is tested is hardcoded :

      +    <nuxeo-filter document="[[document]]" type="OrderedFolder">
      
      +      _canSort: function(document) {
      +        return !(document && this.hasType(document, 'OrderedFolder'));
      +      },
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m