تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5461 أدوات العرض

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...

 

 

الصورة الرمزية
إهمال
أفضل إجابة

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

 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

 

Thank you

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 15
6631
1
يوليو 25
562
Search a message تم الحل
1
فبراير 25
1262
1
أكتوبر 23
3741
0
سبتمبر 23
2226