Changeset 740


Ignore:
Timestamp:
03/24/13 20:29:09 (8 years ago)
Author:
ramonb
Message:
  • an other fix to range
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/host_view.php

    r739 r740  
    5858    global $cluster_ul, $hosts_up, $get_metric_string;
    5959    global $cluster, $period_start, $period_stop;
    60     global $job_start, $job_stop, $view, $conf;
     60    global $job_start, $job_stop, $view, $conf, $range;
    6161
    6262    $rrdirs = array();
     
    134134    $tpl->assign("cluster_url", $cluster_url);
    135135
    136     $graphargs = "h=$hostname&job_start=$job_start&job_stop=$job_stop&period_start=$period_start&period_stop=$period_stop";
     136    $graphargs = "h=$hostname&r=$range&job_start=$job_start&job_stop=$job_stop";
    137137
    138138    if( $range == 'job' )
     
    172172        else
    173173        {
    174             $graphargs = "c=$cluster_url&h=$hostname&m=$name&z=overview-medium&range=$range&job_start=$job_start&job_stop=$job_stop";
     174            $graphargs = "c=$cluster_url&h=$hostname&m=$name&z=overview-medium&r=$range&job_start=$job_start&job_stop=$job_stop";
    175175
    176176            if( $range == 'job' )
Note: See TracChangeset for help on using the changeset viewer.