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

Filtering by document title in children view filters by document reference instead of title

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.7.0, 16.10.13
    • None
    • Unknown

    Description

      How to reproduce:

      • create a page under Sandbox, for example, called "Page-under-Sandbox"
      • type some content, save the page
      • edit the title of the page and replace the dashes by white spaces, resulting in "Page under Sandbox"
      • go to the children view of Sandbox (from the page menu)
      • in the table, in the document title filter, type "Page un"

      Expected results:

      • the page created above is found as a result

      Actual result:

      • the page created above is not found as a result

      However, if the typed filter is "Page-un" or only "Page", the created page is found as a result.

      A couple of important consequences of this:

      • whenever the slug page naming strategy is used, it's impossible to search children with multiple words (like in the example above), and in general search will be poor (special characters will not be properly searched for)
      • if the word that is searched in the document title filter is found in one of the names of the parents of a page, that page will appear as a result of the filter even if its title displays nothing that would make it a result of the search.
      • there is incoherency with the page index table, where search in the document title column seems to search properly

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: