Skip to content

Bookmarks don't display correctly when uuid of bookmarked document is a negative number #1586

Open
@jogilder

Description

@jogilder

Our documents have randomly generated UUIDs. All the UUIDs are large integers with the majority of these being negative numbers. The search builder that passes the query to solr does not put speech marks around the uuid. Any query passed to solr must have the string in speech marks, eg UUID:"-6604297317300560302" This means that our bookmarks only displays correctly if all of the documents that are bookmarked have positive UUIDs.

I think this is where the code needs altering but I can't be sure exactly what needs doing and if this won't have a knock on impact elsewhere.

https://github.com/projectblacklight/blacklight/blob/acf1bcc0e779b4dc83110b007f49bea20759728b/lib/blacklight/solr/search_builder_behavior.rb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions