YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.72k stars 742 forks source link

[bug] Buggy mentions or global search? #9627

Closed vovpff closed 4 years ago

vovpff commented 5 years ago

🐞 bug report

⁉️ Describe the bug

I use next search labels for GDN modules: Number Subject.

  1. Problem with number.

Number like GDN-YY-No - GDN-19-19

I can't find GDN-19-19 blah blah blah using mentions or global search if put GDN-19-19

  1. Problem with subject. Subject usually contains / symbol (popular in Russia).

I can't find record with label GDN-19-19 2019/01 using mentions or global search if I put 2019/01

Looks like symbols - and / buggy for global search and mentions.

Just tested on gitdev 5.0.4 with invoices:

image

image

🌍 Your Environment

Environment Version / Name
YetiForce 5.0.0.
Web server (name and version)
PHP
Browser (name and version)
Operating System (name and version)
Database (name and version)

❓ Additional context

Add any other context about the problem here.

mlorencik commented 5 years ago

If in the configuration in the GLOBAL_SEARCH_DEFAULT_OPERATOR variable we have 'FulltextBegin' or 'FulltextWord', special characters like - or / are treated as a word separation, and the search shows us the results that are the most relevant.

In the case type, the best solution is to set GLOBAL_SEARCH_DEFAULT_OPERATOR to the 'Contain' value, and the search should start with , and 2015/10/16 return us these specific records.

vovpff commented 4 years ago

@mariuszkrzaczkowski @mlorencik v 5.2 SP13 Sorry for reopening. I can't use mentions for searching records what labels contains - and / symbols. I checked GLOBAL_SEARCH_DEFAULT_OPERATOR parameter and there is no affect to mentions. Maybe I'm doing something wrong? Could you help?

konadrian commented 4 years ago

Please check it GlobalSearch