Ignore:
Timestamp:
08/06/08 16:13:23 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/runinfo-aio.php

    r8850 r9105  
    4848            else
    4949            {
    50                 $query0 .= " RunData.fRunNumber as 'Run#' ";
     50//                $query0 .= " RunData.fRunNumber as 'Run#' ";
     51//                $query0 .= " Concat(RunData.fTelescopeNumber,':', RunData.fRunNumber,':', RunData.fFileNumber) as 'Run' ";
     52                $query0 .= " Concat(RunData.fTelescopeNumber,':', RunData.fRunNumber,':', RunData.fFileNumber) as 'Tel:Run:File' ";
    5153
    5254                if (empty($_GET["fSendTxt"]) && !empty($_GET["fLinks"]))
     
    6567        $query0 .= " FROM RunData ";
    6668
    67         $query0 .= " LEFT JOIN RunProcessStatus ON RunData.fRunNumber=RunProcessStatus.fRunNumber ";
     69        $query0 .= " LEFT JOIN RunProcessStatus USING(fRunNumber,fTelescopeNumber,fFileNumber) ";
    6870
    6971        foreach ($_GET as $key => $element)
     
    7476        {
    7577            if ($_GET["fSourceName"]!="On")
    76                 $query0 .= " LEFT JOIN Source ON Sequences.fSourceKEY=Source.fSourceKEY ";
     78                $query0 .= " LEFT JOIN Source USING(fSourceKEY) ";
    7779            $query0 .= " WHERE fTest='no'";
    7880        }
     
    262264        printf(" <P>\n");
    263265        PrintSourceMenu($host,$user,$pw,$db);
    264         PrintNumResPullDown();
    265266        printf("<p>");
    266267        printf("</div>");
     
    271272        ini_set("display_errors", "Off");
    272273
     274        PrintNumResPullDown();
    273275        PrintButtons("runinfo-aio.php");
    274276
Note: See TracChangeset for help on using the changeset viewer.