fuel / orm

Fuel PHP Framework - Fuel v1.x ORM
http://fuelphp.com/docs/packages/orm/intro.html
152 stars 96 forks source link

and_where_open / and_where_close broken? #358

Closed thiver closed 10 years ago

thiver commented 10 years ago

In FuelPHP 1.7.2 it seems like and_where_open/and_where_close don't set the parentheses anymore in a query?

thiver commented 10 years ago

(Model_Temporal is being used.)

emlynwest commented 10 years ago

Because Model_Temporal adds extra where queries you sometimes need to build your query in a different way to make things work. You can use DB::last_query() to see what it is running, this is unfortunatly a side effect of using Temporal.

thiver commented 10 years ago

Issue resolved, there was a method override that did bad things, my bad.