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

Fix add to collection button visibility in orderable folders

    XMLWordPrintable

    Details

      Description

      In orderable folders, Add to Collection button is missing when selecting documents. This is confirmed by this contribution:

          <action id="addSelectedToCollectionAction" order="40" label="label.addToCollection"
            type="fancybox" icon="/icons/add_to_collection.png" accessKey="j">
            <category>CURRENT_SELECTION_LIST</category>
            <filter-id>canAddSelectedToCollection</filter-id>
            <properties>
              <property name="include">/incl/add_selection_to_collection.xhtml</property>
              <property name="autoDimensions">false</property>
              <property name="height">400</property>
              <property name="width">600</property>
            </properties>
          </action>
      

      Modifying it to the following fixes the issue:

      <require>org.nuxeo.ecm.collections.actions</require>
      <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
          <action id="addSelectedToCollectionAction" order="40" label="label.addToCollection"
            type="fancybox" icon="/icons/add_to_collection.png" accessKey="j">
            <category>CURRENT_SELECTION_LIST</category>
            <category>ORDERABLE_CURRENT_SELECTION_LIST</category>
            <filter-id>canAddSelectedToCollection</filter-id>
            <properties>
              <property name="include">/incl/add_selection_to_collection.xhtml</property>
              <property name="autoDimensions">false</property>
              <property name="height">400</property>
              <property name="width">600</property>
            </properties>
          </action>
      </extension>
      

        Attachments

          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 - 6 hours
                6h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.