Code

Updated goto masses
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Apr 2008 06:32:34 +0000 (06:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Apr 2008 06:32:34 +0000 (06:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10525 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/class_gotomasses.inc

index 3b292130131f88094827b94c93953ca691e47b5d..dc965096a2666ad607a319936a1ea35240533f80 100644 (file)
@@ -490,7 +490,7 @@ class gotomasses extends plugin
                                     "200"=> "200",
                                     "9999" => "*"));
 
-    $count = $this->o_queue->number_of_queued_entries();
+    $count = $this->o_queue->number_of_queued_entries($this->event_tags);
     if(!$count) $count = $this->range;
     $divlist->SetListFooter(range_selector($count, $this->start, $this->range,"range"));
     $smarty->assign("range",$this->range);
@@ -726,6 +726,7 @@ class gotomasses extends plugin
     /* Assign entries by id.
      */
     $this->entries = array();
+    //print_a($entries);
     foreach($entries as $entry){
       $this->entries[$entry['ID']]= $entry;
     }
@@ -765,7 +766,7 @@ class gotomasses extends plugin
     }
 
     /* Check start stop and reset if necessary */
-    $count = $this->o_queue->number_of_queued_entries();
+    $count = $this->o_queue->number_of_queued_entries($this->event_tags);
     if($this->start >= $count){
       $this->start = $count -1;
     }