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

Cannot filter using "/" on a Date column in the livetable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.7
    • LiveTable
    • None
    • Unknown
    • N/A
    • N/A

    Description

      #set($columns = ["_avatar", "first_name", "last_name", "email", "doc.creationDate", "_actions"])
      #set($columnsProperties = {
          "_avatar" : { "type" : "none", "link" : "none", "html" : "true", "sortable":false },
          "first_name" : { "type" : "text" , "size" : 20, "link" : "view"},
          "last_name" : { "type" : "text", "link" : "view"},
          "email" : { "type" : "text" },
          "doc.creationDate" : { "type" : "text", "filterable" : true }
      })
      #set($options = { 
         "className":"XWiki.XWikiUsers",
         "translationPrefix" : "xe.index.users.",
         "tagCloud" : true,
         "rowCount": 10
      })
      #livetable("userdirectory" $columns $columnsProperties $options)
      

      Steps to reproduce:

      • Create a page with the livetable above.
      • Filter the doc.creationDate column by a string containing "/".
        No results are displayed in the livetable.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              oana.tabaranu Elena-Oana Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: