Commit e68423b8 authored by clone's avatar clone

bug

parent 923b207b
...@@ -117,11 +117,11 @@ class GHousesFollowUp extends Model ...@@ -117,11 +117,11 @@ class GHousesFollowUp extends Model
*/ */
public function getSearchCount( $join, $where) public function getSearchCount( $join, $where)
{ {
$data = $this->db_ $data = $this
->alias('f') ->alias('f')
->join($join) ->join($join)
->where($where) ->where($where)
->count(); ->count("f.id");
return $data; 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