Zenodo: Text search (communities): case sensitive

Created on 9 Feb 2017  ·  9Comments  ·  Source: zenodo/zenodo

When searching for communities, if you don't type the community title exactly as it was defined by the creator, no chance find what you're looking for.
Check by yourself:

  1. Search for "human brain" --> no result
  2. Search for "Human Brain" --> expected result

Very, very restrictive in my opinion.

All 9 comments

I would like to work on this issue.

@jainaman224 Feel free to take a look. I don't think anyone else is looking into this right now.

@jainaman224 This is related to https://github.com/inveniosoftware/invenio-communities/issues/99, which as you can see though resides in another repository of the Invenio framework that Zenodo is based on. This will involve pushing changes to invenio-communities. To start, first fork the invenio-communities repository, fix the issue locally, test it, and once you're done let us know here (include a URL to your fork). We will then take a look at it and help you open a PR on invenio-communities.

@slint Thank you.

@jainaman224 Looks good! It would be also great if you could also write some basic tests for these changes. Take some inspiration from the already existing tests in the tests directory, and create a similar test_models.py file, where you test some basic use cases for your changes.

The PR has been merged: https://github.com/inveniosoftware/invenio-communities/pull/100

invenio-communities release and integration is still needed.

Closing in favour of #1050

Was this page helpful?
0 / 5 - 0 ratings