Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Case sensitive/insensitive search does not work as expected with mixed case search term #1275

@jeremypw

Description

@jeremypw

What Happened?

Case sensitivity works as expected only when the search term is entered all lower case or all upper case. When entering a mixed case search term and case sensitivity is "off" then search does not find strings matching the search term apart from case.

Steps to Reproduce

  1. Create a document containing the strings (e.g.) "class", "CLASS and "Class"
  2. Enter search term "Class"
  3. Only one hit is found regardless of whether case sensitivity is on or off.
  4. The document however highlights all strings that match apart from case regardless of sensitivity setting.

Expected Behavior

  1. If a mixed case search term is entered then the expected number of hits should be found if case sensitivity is "off".
  2. The highlighting should match the hits (maybe a separate issue)

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions