nazgul26 / PHPRecipebook

Cookbook and Meal planning software. Runs on PHP with MySQL/PostgreSQL.
62 stars 39 forks source link

Disabiguate fields in findByIngredient query #68

Closed ilveroluca closed 6 years ago

ilveroluca commented 6 years ago

Seems to address issue #67

nazgul26 commented 6 years ago

I could not reproduce the issue reported. Looks like this could help and does not introduce any issues. Thanks!

ilveroluca commented 6 years ago

I'm running on PostgreSQL. Maybe that explains the different behaviour?

nazgul26 commented 6 years ago

Most likely. While cakePHP does try to support multiple databases without having to code differently that does not always work perfectly.