Problem with Model()->find() and Model()->findAll() |
(05-16-2020, 04:44 AM)Anwar Wrote: Indeed, also in my case, on using: The same thing happened to me, I did not understand what happened, then look at the code and in the direction "system \ Model.php" change the line 369 "$ builder-> where ($ this-> table. '.'. $ this-> deletedField, null); " by $ builder-> where ('('. $ this-> table. '.'. $ this-> deletedField. "is null or". $ this-> table. '.'. $ this-> deletedField. ' = 0) '); only return results if delete_at column is null by default and change to allow with null and 0 |
Welcome Guest, Not a member yet? Register Sign In |