change functions that provide the sql to match the new queries
change functions that provide the sql to match the new queries

GoteoFoundation/goteo,GoteoFoundation/goteo,GoteoFoundation/goteo,GoteoFoundation/goteo