mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Quick fix to broken search.
This commit is contained in:
parent
aba0107f88
commit
57e4a4440f
@ -141,7 +141,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
function count_entries() {
|
||||
function count_entries($query,$filter,$filtermethod) {
|
||||
global $phpgw,$phpgw_info;
|
||||
if ($phpgw_info["apps"]["timetrack"]["enabled"]) {
|
||||
$phpgw->db->query("SELECT count(*) "
|
||||
@ -199,7 +199,7 @@
|
||||
}
|
||||
|
||||
if ($query) {
|
||||
$this->searchreturn=$this->count_entries();
|
||||
$this->searchreturn=$this->count_entries($query,$filter,$filtermethod);
|
||||
} else {
|
||||
$this->searchreturn="";
|
||||
$phpgw->db->query("select count(*) from addressbook where $filtermethod",__LINE__,__FILE__);
|
||||
|
@ -141,7 +141,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
function count_entries() {
|
||||
function count_entries($query,$filter,$filtermethod) {
|
||||
global $phpgw,$phpgw_info;
|
||||
if ($phpgw_info["apps"]["timetrack"]["enabled"]) {
|
||||
$phpgw->db->query("SELECT count(*) "
|
||||
@ -199,7 +199,7 @@
|
||||
}
|
||||
|
||||
if ($query) {
|
||||
$this->searchreturn=$this->count_entries();
|
||||
$this->searchreturn=$this->count_entries($query,$filter,$filtermethod);
|
||||
} else {
|
||||
$this->searchreturn="";
|
||||
$phpgw->db->query("select count(*) from addressbook where $filtermethod",__LINE__,__FILE__);
|
||||
|
Loading…
Reference in New Issue
Block a user