summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 05c0421)
raw | patch | inline | side by side (parent: 05c0421)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Oct 2006 06:48:17 +0000 (06:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Oct 2006 06:48:17 +0000 (06:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4957 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofax/faxreports/class_faxreport.inc | patch | blob | history |
diff --git a/plugins/gofax/faxreports/class_faxreport.inc b/plugins/gofax/faxreports/class_faxreport.inc
index 81a7dfddd29e888f987ed85d20e1f3c8b17d7835..9d5de84cb23531aacb0f0a43e01b3560cc22f917 100644 (file)
foreach( array("year", "month", "search_for", "search_base") as $type){
if (isset($_POST[$type])){
$faxreportfilter[$type]= $_POST[$type];
+
+ /* reset start page, if filter has changed */
+ if(!isset($_GET['start'])){
+ $this->start = 0;
+ }
}
$this->$type= $faxreportfilter[$type];
+
}
foreach($this->attributes_SO as $name){
$faxreportfilter[$name] = $this->$name;