Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5471 Lượt xem

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

 

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

 

Thank you

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
6641
1
thg 7 25
566
Search a message Đã xử lý
1
thg 2 25
1273
1
thg 10 23
3751
0
thg 9 23
2233