*

Alej

  • ***
  • 78 posts
Plural words problem
« on: March 02, 2025, 03:11:34 PM »
Hello, the classifieds page I am creating is for the Spanish language. The problem is that when I type "remeras" (t-shirts) in the search and press enter, it does not give me any results, even if there are ads with the word "remera". Is there a solution for this problem with plurals?

*

MB Themes

Re: Plural words problem
« Reply #1 on: March 05, 2025, 11:53:08 AM »
It's probably question related to mysql search. I do not think there is great solution, ideal is to just get rid of last 1-2 letters.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alej

  • ***
  • 78 posts
Re: Plural words problem
« Reply #2 on: March 05, 2025, 01:53:04 PM »
Ok, can you tell me what I should modify?

*

MB Themes

Re: Plural words problem
« Reply #3 on: March 05, 2025, 03:25:53 PM »
In search model (mode/Search.php), where you can find addPattern and remove last chars before adding pattern to class
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alej

  • ***
  • 78 posts
Re: Plural words problem
« Reply #4 on: March 07, 2025, 06:02:30 PM »
In this way, if I search for "tshirts", internally it searches for matches like "tshir**" (in case of removing the last 2 characters), but the user is shown that their search was "tshits"?

*

MB Themes

Re: Plural words problem
« Reply #5 on: March 10, 2025, 12:18:45 PM »
@Alej
I recommend you to check what Mysql options you have as that's the engine for Osclass.
For your question, removal should only happen in back when creating condition for mysql.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots