Ignore:
Timestamp:
06/21/05 15:01:45 (18 years ago)
Author:
bastiaans
Message:

toga/libtoga.php:

  • Only search jobs in 'F' state

toga/search.php:

  • Fixed form validation

web/addons/toga/graph.php:

  • Added x-grid determination for labels and such along x-axis
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/toga/libtoga.php

    r145 r152  
    108108
    109109                if( $id )
    110                         $query = "SELECT job_id FROM jobs WHERE job_id = '$id'";
     110                        $query = "SELECT job_id FROM jobs WHERE job_id = '$id' AND job_status = 'F'";
    111111                else {
    112112                        $query_args = array();
     
    127127                                $query_args[] = "job_stop_timestamp <= $end_to_time";
    128128
    129                         $query = "SELECT job_id FROM jobs WHERE ";
     129                        $query = "SELECT job_id FROM jobs WHERE job_status = 'F' AND ";
    130130                        $extra_query_args = '';
    131131
Note: See TracChangeset for help on using the changeset viewer.