Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Embedded List support search/filter/ordering?

I added embedded list in my form. However, I cannot find any document/sample on how to search/filter/ordering.

There's no insight from official document.

Could anyone help? Thanks a lot.


  • The embedded list is built to behave like the default view of the main list_items view but you can additionally pass a "where" parameter to filter the list (as displayed in the docs). If you want change that you could overwrite the method with perhaps something like the following:

    public function get_embedded_list_items($params, $list_cols = array(), $actions = array('edit'))
        $this->db->order_by('my_col asc');
        return parent::get_embedded_list_items($params, $list_cols, $actions);
Sign In or Register to comment.