Hi,
is there a way to group by a field in a search view in a case insensitive way?
i.e. grouping "leo" and "Leo" together.
Thanks!
Hi,
is there a way to group by a field in a search view in a case insensitive way?
i.e. grouping "leo" and "Leo" together.
Thanks!
Nicolas is right: to do that I have to change read_group. It is a big method with no hooks, so the solution for now has been to copy all of it in my module and add a few lines similar to those the handle dates in the original code.
Date handling in the original is somewhat similar: dates from the same month are grouped together, while I wanted to group together string fields that are equal ignoring case.
That has been refactored in trunk to be hookable.
Thanks!
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
0
9月 25
|
3491 | |||
|
1
7月 21
|
4206 | |||
|
2
12月 16
|
6677 | |||
|
0
4月 16
|
5736 | |||
|
1
5月 15
|
5580 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.