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>