Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23116

Documents macro should not have the likes column when it's not asked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.7-rc-1
    • Index
    • None
    • Unknown

    Description

      This is a "regression" from XWIKI-17508. Before that issue we were able to control the documents macro columns by using the "columns" parameter. After XWIKI-17508 it's no longer possible. For example the following:

      {{documents location=".PageEditing." columns="doc.title"/}}
      

      is supposed to have one 1 column (the title) but it doesn't work and the like column is displayed too.

      When not logged in:

      See also https://extensions.xwiki.org/xwiki/bin/view/Extension/Documents%20Macro

      I'd propose that:

      • We introduce a "like" column key in the "columns" parameter, when the likes column is supposed to be displayed
      • That it's off by default (as it's not a main use case)

      BTW I also propose to do the same for the "actions" columns with an "actions" column.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: