Order by Caching is not working |
I upgrade to Codeigniter 3.1.9 from 3.1.4, in codeigniter 3.1.4 my order_by is working under cache, but not in 3.1.9, I checked change log there is not mentioned that it is removed or not.
example code: $this->db->start_cache(); $this->db->order_by("COL", "DESC"); $this->db->stop_cache(); $this->db->get("MYTABLE")
(07-26-2018, 09:04 AM)php_rocs Wrote: @mandeep242, yes I checked there is no error thrown.
(07-27-2018, 06:08 AM)php_rocs Wrote: @mandeep242, I checked again the code, there is count_all_results() added, in CI 3.1.4 it is ok, but in 3.1.9 after count_all_results is removing order by
(07-30-2018, 09:24 AM)php_rocs Wrote: @mandeep242, I checked by printing $this->db->last_query(); |
Welcome Guest, Not a member yet? Register Sign In |