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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: LiveTable
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: