Hi, I am refactoring the sql.php script. In line 235 there is a condition for GLOBALS['grid_edit']==true. According to what I found this will be set only when the field has "truncated" or "transformed" css classes. I was trying to find some test cases where these classes are added to the fields, but I was not successful. I would appreciate if someone can help me to find some test cases where these classes will be added.
Thank you
Le 2013-07-09 02:00, Supun Nakandala a écrit :
Hi, I am refactoring the sql.php script. In line 235 there is a condition for GLOBALS['grid_edit']==true. According to what I found this will be set only when the field has "truncated" or "transformed" css classes. I was trying to find some test cases where these classes are added to the fields, but I was not successful. I would appreciate if someone can help me to find some test cases where these classes will be added.
Thank you
Hi Supun, do you know the "git grep" command? By doing git grep truncated
you can obtain some false clues but also good clues about where this class is set.
The good clue is libraries/DisplayResults.class.php.