Changeset 12777


Ignore:
Timestamp:
01/27/12 10:59:29 (13 years ago)
Author:
Daniela Dorner
Message:
bugfix for display of columns, updated selection of default columns
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/db/fact_runinfo.php

    r12696 r12777  
    125125    {
    126126        // Find out whether it is the first call to the php script
    127         $first = empty($_GET["fRunMin"]) && empty($_GET["fRunMax"]);
     127        $first = empty($_GET["fStartDate"]) && empty($_GET["fStopDate"]);
    128128
    129129        if (empty($_GET["fNumResults"]))
     
    149149
    150150        if (empty($_GET["fNumTimeTrigger"]))
    151             $_GET["fNumTimeTrigger"]=$first?"On":"";
     151            $_GET["fNumTimeTrigger"]=$first?"Off":"";
    152152
    153153        if (empty($_GET["fNumExt1Trigger"]))
     
    176176
    177177        if (empty($_GET["fROITimeMarker"]))
    178             $_GET["fROITimeMarker"]=$first?"On":"";
     178            $_GET["fROITimeMarker"]=$first?"Off":"";
    179179
    180180        if (empty($_GET["fFitsFileErrors"]))
    181             $_GET["fFitsFileErrors"]=$first?"On":"";
     181            $_GET["fFitsFileErrors"]=$first?"Off":"";
    182182
    183183        if (empty($_GET["fHasDrsFile"]))
     
    194194
    195195        if (empty($_GET["fTriggerRateMedian"]))
    196             $_GET["fTriggerRateMedian"]=$first?"On":"";
     196            $_GET["fTriggerRateMedian"]=$first?"Off":"";
    197197
    198198        if (empty($_GET["fThresholdMedian"]))
    199             $_GET["fThresholdMedian"]=$first?"On":"";
     199            $_GET["fThresholdMedian"]=$first?"Off":"";
    200200
    201201        if (empty($_GET["fBiasVoltageMedian"]))
    202             $_GET["fBiasVoltageMedian"]=$first?"On":"";
     202            $_GET["fBiasVoltageMedian"]=$first?"Off":"";
    203203
    204204        if (empty($_GET["fRightAscension"]))
    205             $_GET["fRightAscension"]=$first?"On":"";
     205            $_GET["fRightAscension"]=$first?"Off":"";
    206206
    207207        if (empty($_GET["fDeclination"]))
    208             $_GET["fDeclination"]=$first?"On":"";
     208            $_GET["fDeclination"]=$first?"Off":"";
    209209
    210210    }
Note: See TracChangeset for help on using the changeset viewer.