Skip to content

Filtering based on tag metadata returns unexpected results on News section #3135

@dadrasarmin

Description

@dadrasarmin

@ElectronicBlueberry has recently had a pull request so we can search and filter for tags on News page. It works for most things well. For example, the following URLs work as expected:

  1. https://galaxyproject.org/news/?tag=paper
  2. https://galaxyproject.org/news/?tag=talk

It behaves strange on the hosted website for a few tags such as TIaaS. It works for the subsite: https://galaxyproject.org/projects/esg/news/?tag=TIaaS . However, it does not work properly on the global site: https://galaxyproject.org/news/?tag=TIaaS
Interestingly, it filters for posts that have other tags (for example, this, this, and this). One guess is that this happens because of the upper-case tag. However, it works well for the esg subsite.

Does someone have a suggestion on how to solve this?

Besides, if someone wants to look for a tag such as paper in subsites like eu or freiburg, they have do it as https://galaxyproject.org/eu/news/?tag=paper or https://galaxyproject.org/freiburg/news/?tag=paper. Ideally, we would like to be able filter for tags in all sub-sites when we are filtering globally https://galaxyproject.org/news/?tag=something. At the moment, this does not work globally, if the post does not have the global or all metadata for subsites.

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