codeigniter-base-model icon indicating copy to clipboard operation
codeigniter-base-model copied to clipboard

count_by() and count_all() ignore the soft-delete status

Open carlos-mora opened this issue 12 years ago • 0 comments

Added the condition to adapt both method to be coherent with their counterparts get_many_by() and get_all(). I'm not sure if the count_all solution is the best, because it could be affected by previous where calls, but it is my best approach.

carlos-mora avatar Dec 09 '12 15:12 carlos-mora