Skip to content

error combo parent filter #35

Description

@mangopik

parent filter is not working .

Solution

open file /application/core/SB_model.php , change function getComboselect()

    function getComboselect( $params , $nested = array())
    {
        if(isset($params[3]) AND !empty($params[4]) ){
            $table = $params[0];
            $query = $this->db->get_where( $table , array( $params[3] => $params[4] ));
            $rows = $query->result();
        }else{
            $table = $params[0];
            $query = $this->db->get( $table );
            $rows = $query->result();
        }
        $query->free_result();
        return $rows;

    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions