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

Don't display tags for items not in the livetable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.4
    • Fix Version/s: None
    • Component/s: LiveTable
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      For example in the attached screenshot the LT is deifned as:

      #set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "rating", "recommended"])
      #set($columnsProperties = {
        "name" : { "type" : "text", "link" : "view" },
        "summary" : { "type" : "text" },
        "category" : { "type" : "list" },
        "authors" : {'html': true},
        "doc.creationDate" : { "type" : "date" },
        "doc.date" : { "type" : "date" },
        "rating" : { 'html' : true, 'filterable' : false, 'sortable' : false},
        "recommended" : { 'type' : "hidden" }
      })
      #set($options = { 
         "tagCloud":true,
         "className":"ExtensionCode.ExtensionClass",
         "selectedColumn":"doc.creationDate",
         "defaultOrder":"desc",
         "translationPrefix" : "extension.repository.",
         "rowCount": 30,
         "extraParams" : "&recommended=1"
      })
      #livetable("recommendedextensions" $columns $columnsProperties $options)
      

      Note the usage of the extraParams to filter out some extensions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vmassol Vincent Massol
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: