Commit e68423b8 authored by clone's avatar clone

bug

parent 923b207b
......@@ -117,11 +117,11 @@ class GHousesFollowUp extends Model
*/
public function getSearchCount( $join, $where)
{
$data = $this->db_
$data = $this
->alias('f')
->join($join)
->where($where)
->count();
->count("f.id");
return $data;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment