beforeFind functions not working when paginating - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: beforeFind functions not working when paginating (/showthread.php?tid=83546) |
beforeFind functions not working when paginating - mehmet - 09-30-2022 Blog page pagination query; PHP Code: $blogQuery = model('Blogs'); If I don't add where values before the paging function, it doesn't run the beforeFind functions in the model. Blog Model; PHP Code: class Blogs extends Model |