Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-585

Fix nuxeo-directory-suggestion element to work with any kind of hierarchical vocabulary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Selectivity

      Description

      The nuxeo-directory-suggestion element works well with hierarchical vocabularies when all the parent entries don't have child entry or when all the parent entries have children entries, but not when some have and some don't have because this behavior is determined by

      var hasChildren = results.some(function(item) {
          return item.children;
      });
      

      and therefore applies to all entries.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d