Skip to content

Community search doesn't return results for partial query matches, as opposed to collection search #3794

@bram-atmire

Description

@bram-atmire

Describe the bug

In the current DSpace 8 demo site, there is a top level community Archaeological Sciences.
In dialogs that offer community search, for example, the dialog to create a new collection, you would expect this community to show up as soon as you type "arch", but it doesn't:

Screenshot 2025-01-03 at 15 31 22

Only when you type the first word of the community title in full, the result appears:

Screenshot 2025-01-03 at 15 31 43

Interestingly enough, collection search does NOT suffer from this, e.g. partial matching DOES work for collection search. Which makes it all more counter-intuitive that it doesn't work for community search

To Reproduce

Steps to reproduce the behavior:

  1. Open a dialog that offers the search for communities (for example New > Collection)
  2. Enter a search string that gives you a PARTIAL match on the first word of an actual community title

Expected behavior

Results should be returned for partial matches, just like collection search works

Related work

I'm also able to reproduce this on DSpace 7.6, so likely already an old issue and not something new.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done / Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions