Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54885

Filter box in the Space Directory does not return results beyond the first word unless whole words are matched

    XMLWordPrintable

Details

    Description

      Problem summary

      In the Space Directory, the filter space feature returns partial match results for only the first word. Beyond the first word (when a whitespace has been input), no additional results will return unless entire words are matched. This can lead to confusion as users type into the filter box.

      Steps to reproduce

      1. Create several (e.g. 5) dummy spaces with various names
      2. Create a space named "First Second Third" (the space key does not matter)
      3. Wait a few seconds for the new spaces to be added to the search indexed automatically
      4. Go to Space Directory and type in "first" one letter at a time. Notice that the space "First Second Third" shows up in the results once three characters or more have been inputted due to partially matching "first"
      5. Add a white space and start typing "second" one letter at a time

      Expected behavior

      The space "First Second Third" continues to show the entire time the second term is being typed

      Actual behavior

      As soon as the first letter ("s") of the second term is typed, the Space Directory takes out the space "First Second Third" from the result set. This behavior continues until the entirety of the second word has been typed, such that the text box shows "first second", at which time the space is once again displayed.

      The same behavior can be observed if another whitespace is added and the user starts typing the third search term.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rchang Robert Chang
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: