GithubHelp home page GithubHelp logo

[BUG] Filter product about evershop HOT 9 OPEN

leandrosantoss avatar leandrosantoss commented on July 18, 2024
[BUG] Filter product

from evershop.

Comments (9)

hussaincoder23 avatar hussaincoder23 commented on July 18, 2024

Can you please describe it again , what is the issue ?

from evershop.

leandrosantoss avatar leandrosantoss commented on July 18, 2024

The problem is in the filter:

  • Case sensitive
  • Filters only full name

Should be:

  • Case insensitive
  • Filter by a part of the name (show prints attached)

from evershop.

treoden avatar treoden commented on July 18, 2024

Hi @leandrosantoss ,

You are using keyword search, it is a full text search in postgres db. Not an ilike query.
You can check more here:

`to_tsvector('simple', product_description.name || ' ' || product_description.description) @@ websearch_to_tsquery('simple', :${bindingKey})`,

Thanks

from evershop.

leandrosantoss avatar leandrosantoss commented on July 18, 2024

Is the idea to continue with the full text?

It makes it a little difficult because rarely does the person know the exact name.

from evershop.

treoden avatar treoden commented on July 18, 2024

Hi @leandrosantoss

I tried and see it:

  1. Is not case sensitive
  2. Does not require full name

image

Can you check again?
Thanks

from evershop.

leandrosantoss avatar leandrosantoss commented on July 18, 2024

Hi, @treoden

It doesn't work in my application (1.1.0). Do I need to do any configuration?

products-google-chrome-2024-06-03-11-50-24_MoZYObZd.mp4

from evershop.

leandrosantoss avatar leandrosantoss commented on July 18, 2024

Hi @treoden, do you understand my problem?

from evershop.

treoden avatar treoden commented on July 18, 2024

Hi @leandrosantoss

Yes i see. Let me double check again

from evershop.

leandrosantoss avatar leandrosantoss commented on July 18, 2024

Hi @treoden
Were you able to check?

from evershop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.