addNotIncondition possible bug?

Hi all!!!

I’ve noticed that when adding an addNotIncondition, in a criteria, before de criteria expression, it doesn`t adds that not in condition to the SQL…

If I switch the order and I add the notIncondition after the condition, it does works fine…

Is this a possible bug?


I guess you’re rewriting a condition after using addNotInCondition. It’s not a bug. If you want the order you wanted originally you should use $criteria->condition .= “something”;

Yeah! I didn’t try that way!