Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
5496 Näkymät

Let's say i have 2 customers : customer A with a tag "vip 2015" and customer B with the tag "2015".

if i do a "direct search" with "2015", my results give customer A and Customer B

Now if i do it through the advanced search and search : tags [contains] 2015...my results give customer A and Customer B

And if i do an advance search with : tags [equals to] 2015...then i only have my customer B because it is an "exact search".

 

So i would like to obtain the same result as the last one but without the need to pass through the advanced search.

 

Is it possible and if so how? I try with quotes but no result...

 

 

Avatar
Hylkää
Paras vastaus

Hy andré it's possible but you'll have to code a little the search view.

Get the search view that is used for your customer view, have a look to it. You'll probably have a 'ilike' operator on the field name. Try to replace it by '=' and try it again.

Maybe you could have oth if you precise a strig for making difference between exact search and general search.

Hope it could help

 

Avatar
Hylkää
Tekijä Paras vastaus

In fact i was looking for an eventual trick to do this without change anything, but change the view do the trick.

 

Thank you

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 15
6649
1
heinäk. 25
586
1
helmik. 25
1295
1
lokak. 23
3781
0
syysk. 23
2244