pods-framework/pods — Issue #104: findRecords() generating wrong query
Author: wonderpoint
Created: 2012-01-10 08:20:40+00:00
State: open

I have the latest PODs installed on my WAMP machine.

Consider a PODS - company ( name, title, summary, services(PICK to other PODS called services) )

Now the issue is if I run findRecords() on 'company' PODS and if I have $_GET['services'] in my GET parameters even if I have not given any 'where' conditions to include the 'services' field than also it includes the 'services' field as `services`.`id` = 1in my final query.

I checked for some other columns also, if the GET key and the field name of the database is same it includes it in the final query.

P.S: This issue is being faced only when the code is uploaded on the LAMP setup. Not on WAMP setup.