Ignore:
Timestamp:
11/16/08 18:16:14 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/db
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/menu.php

    r9106 r9168  
    120120
    121121    CheckBox("fSequenceLast",      "Last run");
    122 
    123     printf("  </tr><tr>\n");
    124 
    125122    CheckBox("fLinks",             "Links");
     123
     124    printf("  </tr><tr>\n");
     125
     126    CheckBox("fOnlySum",           "only sumtrigger");
    126127    CheckBox("fTest",              "incl. TestSources");
    127128    CheckBox("fOff",               "incl. offsources");
  • trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php

    r9151 r9168  
    7575                foreach ($_GET as $key => $element)
    7676                    if ($_GET[$key]=="On")
    77                         if ($key!="fLinks" && $key!="fOff" && $key!="fOnlyOff")
     77                        if ($key!="fLinks" && $key!="fOff" && $key!="fOnlyOff" && $key!="fOnlySum")
    7878                            if (empty($checkwhere[$key]) || $checkwhere[$key]==0)
    7979                                $query0 .= ", " . $key . " as '" . $alias[$key] . "' ";
     
    116116
    117117            $query0 .= " fSourceName like '%Off%'";
     118        }
     119
     120        if ($_GET["fOnlySum"]=="On")
     121        {
     122            if (strpos($query0, " WHERE ")==FALSE)
     123                $query0 .= " WHERE ";
     124            else
     125                $query0 .= " AND ";
     126
     127            $query0 .= " NOT ISNULL(fRateSumEvts) ";
    118128        }
    119129
     
    282292        if (empty($_GET["fOnlyOff"]))
    283293            $_GET["fOnlyOff"]=$first?"Off":"";
     294
     295        if (empty($_GET["fOnlySum"]))
     296            $_GET["fOnlySum"]=$first?"Off":"";
    284297
    285298        InitFindOffData($_GET, $first);
Note: See TracChangeset for help on using the changeset viewer.