Skip to content

Conversation

@nflorentin
Copy link
Contributor

fix #716

(Offers/inquiries were already case insensitive)

Copy link
Collaborator

@markets markets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👌🏼

Yes, offers/inquiries search is built with the pg_search gem:

pg_search_scope :search_by_query,
against: [:title, :description, :tags],
ignoring: :accents,
using: {
tsearch: {
prefix: true,
tsvector_column: 'tsv'
}
}

For some context, this was done during the Elasticsearch ✂️ #568

@markets markets merged commit 38164d6 into coopdevs:develop Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

all searches should be accent insensitive

2 participants