
Originally Posted by
dskanth
Hai, i need to find out the code for the List view in CE Teams module. Where can i get it?
As i have been using sql server as back end, and iam getting SQL errors when i open the CE Teams module under admin. I dont see any team list (though i created one) there, it says an error:
SQL Error : An expression of non-boolean type specified in a context where a condition is expected, near 'AND'.
Please, can anyone help me where can i find the code for showing the team list?

Edit the file include/ListView/ListViewData.php and add this line
PHP Code:
echo "<LI>$main_query</LI>";
just before the line
PHP Code:
$main_query = $ret_array['select'] . $params['custom_select'] . $ret_array['from'] . $params['custom_from'] . $ret_array['where'] . $params['custom_where'] . $ret_array['order_by'] . $params['custom_order_by'];
This will display the ListView query just bellow the Search Form.
Cheers
Bookmarks