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

Livetables with search bar do not function properly in Flamingo

    XMLWordPrintable

Details

    • High
    • Easy
    • N/A
    • N/A

    Description

      To repeat, create 2 pages

      Main.TestOne

      {{velocity}}
      #set($columns = ['project', 'description', 'author', 'score', 'ranking'])
      #set($columnsProperties = {
          'project' : { 'type' : 'none', 'html' : 'true', 'sortable' : 'true', 'filterable' : 'true'},
          'description' : {'type' : 'text', 'filterable' : 'false', 'sortable' : 'false'},
          'author' : {'type' : 'none', 'html':true, 'filterable' : 'false', 'sortable' : 'false'},
          'score' : {'type' : 'text', 'filterable' : 'false', 'sortable' : 'false'},
          'ranking' : {'type' : 'none', 'html' : true, 'filterable' : 'false', 'sortable' : 'true'}
      })
      #set($options = {
         'resultPage' : 'Main.TestTwo',
         'rowCount' : 10,
         'translationPrefix' : 'xxx.',
         'creator': $xcontext.getUser(),
         'topFilters' : '<input class="projectNameFilter" id="xwiki-livetable-entities-filter-1" name="entity" title="Filter for the project name column" type="text">'
      })
      #livetable('entities', $columns, $columnsProperties, $options)
      {{/velocity}}
      

      Main.TestTwo

      {"totalrows":53,
      "returnedrows":2,
      "offset":1,
      "reqNo":1,
      "rows":[
        {
          "doc_viewable":true,
          "author":"<span class=\"wikilink\"><a href=\"/riscoss/wiki/gha/view/XWiki/github_cedricth\">github_cedricth</a></span>",
          "project":"<a href='/riscoss/wiki/gha/view/RISCOSSPlatformCode/ProjectPage?project=RISCOSSPlatformEntitiesgithub_cedricth.kraih_mojo' class='projectLink'>kraih/mojo</a>",
          "score":"371",
          "ranking":"This project ranks <strong>top 1%</strong>",
          "description":"Mojolicious - Perl real-time web framework","entity_url":"/riscoss/wiki/gha/view/RISCOSSPlatformEntitiesgithub_cedricth/kraih_mojo",
          "layer":"OSSComponent",
          "layer_url":"/riscoss/wiki/gha/view/RISCOSSPlatformLayers/OSSComponent"
        },
        {
          "doc_viewable":true,
          "author":"<span class=\"wikilink\"><a href=\"/riscoss/wiki/gha/view/XWiki/github_cedricth\">github_cedricth</a></span>",
          "project":"<a href='/riscoss/wiki/gha/view/RISCOSSPlatformCode/ProjectPage?project=RISCOSSPlatformEntitiesgithub_cedricth.major_MySQLTuner%2Dperl' class='projectLink'>major/MySQLTuner-perl</a>",
          "score":"314",
          "ranking":"This project ranks <strong>top 2%</strong>",
          "description":"MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.",
          "entity_url":"/riscoss/wiki/gha/view/RISCOSSPlatformEntitiesgithub_cedricth/major_MySQLTuner%2Dperl",
          "layer":"OSSComponent",
          "layer_url":"/riscoss/wiki/gha/view/RISCOSSPlatformLayers/OSSComponent"
        },
      ]
      }
      

      Navigate to Main.TestOne and notice when the skin is Flamingo, the livetable does not load, when it is switched to Colibri, it loads the 2 elements specified in TestTwo.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              calebjamesdelisle CalebJamesDeLisle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: