Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-87

Change nuxeo-results observer to update the actionContext on column choice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.2, 2.4.36
    • Component/s: UI
    • Release Notes Summary:
      nuxeo-results observer updates the actionContext on column choice.
    • Backlog priority:
      400
    • Sprint:
      nxApps 2020 Cycle 11

      Description

      When a user chooses to display or hide a column in a Results view, this action should trigger the observer for the actionContext.

      It would require only a small change:

      diff --git a/elements/nuxeo-results/nuxeo-results.js b/elements/nuxeo-results/nuxeo-results.js
      index 72085db7..db089f7c 100644
      --- a/elements/nuxeo-results/nuxeo-results.js
      +++ b/elements/nuxeo-results/nuxeo-results.js
      @@ -331,7 +331,7 @@ Polymer({
       
         observers: [
           '_updateStorage(name)',
      -    '_updateActionContext(displayMode, nxProvider.*, nxProvider.sort.*, selectedItems, columns, document)',
      +    '_updateActionContext(displayMode, nxProvider.*, nxProvider.sort.*, selectedItems, columns.*, document)',
         ],
       
         listeners: {
        

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              5 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 - 2 hours
                2h