Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6221 Tampilan

Hello,

I would like to learn how to modify the default search behaviour such that the AND search criteria is default (i.e. if you type criteria1 into the search box and hit enter and then type criteria2 into the search box and hit enter it should automatically apply the AND operator rather than the OR logic).

Currently the only way to do this is to apply advanced searches one at a time which is quite time consuming, so having the ability to do it in the standard search field will save a lot of time!

Thanks for any help! Lawrence

Avatar
Buang
Jawaban Terbai

I think you can try it by overriding search method and in that method change the domain (change AND criteria to OR) as you want.

Avatar
Buang
Penulis

Hi Sudhir, thanks for your response. I'm not entirely sure how to modify the method - would you mind providing a bit more information about how to go about doing this? Thanks for your help!

Post Terkait Replies Tampilan Aktivitas
1
Jul 25
311
Search a message Diselesaikan
1
Feb 25
1109
0
Sep 23
2111
2
Jun 23
3841
1
Agu 22
12597