XWIKI-11338: Be able to sort attachments by type on the Document Index page
* Add the mimeType field to the list of allowed sort fields * Rename the "type" column into "mimeType" in order to match the actual attachment field from the database. * Make the mimeType column filterable (using multilist) and sortable. * Add a class definition to XWiki.AllAttachments in order to be able to configure the known file types that are listed in the mimeType filter drop down. * Refactor XWiki.AllAttachmentsResults to use the matchType specified on the request for each filtered field.
Showing
- xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/AllAttachments.xml 34 additions, 3 deletions...form-index-ui/src/main/resources/XWiki/AllAttachments.xml
- xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/AllAttachmentsResults.xml 48 additions, 46 deletions...dex-ui/src/main/resources/XWiki/AllAttachmentsResults.xml
- xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties 3 additions, 1 deletion...ldcore/src/main/resources/ApplicationResources.properties
Loading
Please register or sign in to comment