Skip to content

Remove case sensitvity from Scientific Topic, Keyword and other filters #1185

@rombaum

Description

@rombaum

Describe the bug

I would not expect that a string based search or filter system is case sensitive. Normally, it doesn't matter if you are searching for bioinformatics or Bioinformatics. In TeSS this is currently the case. Which means when I use the value bioinformatics as a filter I did not get any results (see fig. 1). For Bioinformatics I currently get 84 results (see fig. 2). The same behavior also appears for the filter keyword (see fig 3.) or target audience

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://tess.elixir-europe.org/materials?scientific_topics=bioinformatics
  2. See no records in the result list
  3. Go to https://tess.elixir-europe.org/materials?scientific_topics=Bioinformatics
  4. See 84 records in the result list

Expected behavior

There should be no difference when selected a filter with uppercase or lowercase letters in it.

Screenshots

Image

Fig. 1_0 results for the scientific topic bioinformatics_

Image

Fig. 2: 84 results for the scientific topic Bioinformatics

Image

Fig. 3: Bioinformatics has 6 records, bioinformatics has 4 records for the keywords filter

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser: Firefox
  • Version: 145.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions