Modified to pass filter to class - not yet working

This commit is contained in:
Miles Lott 2001-02-04 10:45:07 +00:00
parent b6c8094da1
commit 27b7ec75a4

View File

@ -46,10 +46,11 @@
// insert acl stuff here // insert acl stuff here
$offset = $phpgw_info["user"]["preferences"]["common"]["maxmatchs"]; $offset = $phpgw_info["user"]["preferences"]["common"]["maxmatchs"];
//$extra = 1; // filtering to be done on extra fields
//"access='$filter'"
$entries = $this->read($start,$offset,$columns_to_display,$query,$sort,$order); if ($filter == "none") { $filter = ""; }
else { $filter = "access=$filter"; }
$entries = $this->read($start,$offset,$columns_to_display,$query,$filter,$sort,$order);
$search_filter = $phpgw->nextmatchs->show_tpl("index.php", $search_filter = $phpgw->nextmatchs->show_tpl("index.php",
$start, $this->total_records, $start, $this->total_records,