This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a80f96c9-2134-410a-a218-656bc7d6113f XWIKI-23819 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-42901cbf-29a4-4d39-a486-18adb5f35778 Anca Luca created this issue on 15/Dec/25 03:27
 
Summary: Filtering by document title in children view filters by document reference instead of title
Issue Type: cid:jira-generated-image-avatar-a80f96c9-2134-410a-a218-656bc7d6113f Bug
Affects Versions: 16.10.13, 17.7.0
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 15/Dec/25 03:27
Priority: cid:jira-generated-image-static-major-c5f95eca-1f08-4c21-a559-03f08c70db9d Major
Reporter: Anca Luca
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
 
 

1 update

 
cid:jira-generated-image-avatar-42901cbf-29a4-4d39-a486-18adb5f35778 Changes by Anca Luca on 15/Dec/25 03:28
 
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
 
 

1 comment

 
cid:jira-generated-image-avatar-42901cbf-29a4-4d39-a486-18adb5f35778 Anca Luca on 15/Dec/25 03:36
 

Apparently this is the behaviour implemented in https://github.com/xwiki/xwiki-platform/commit/b6af4becca5080782b87914a59e8dda67ae4e44b for XWIKI-15458 , but before that fix there was no filter at all on the document title.

cc Clemens Robbenhaar Marius Dumitru Florea : is there any particular reason for title filtering in children to be done based on reference instead of title?

Note that in the page index, when filtering by title, it actually filters correctly by the value of the title column ("Page un" reveals the page from this issue description).