Changeset 178 for trunk/web


Ignore:
Timestamp:
08/02/05 09:54:37 (18 years ago)
Author:
bastiaans
Message:

web/addons/toga/index.php:

  • Fixed bug: When in the archive and viewing a job, after changing to a other metric for graphs, the metricmenu disappeared from the header.
File:
1 edited

Legend:

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

    r171 r178  
    2525if( !isset($sortby) ) $sortby = "id";
    2626
    27 $myfilter_fields = explode( ",", $filterorder );
     27if( isset( $filterorder ) && ($filterorder!='') ) {
     28        $myfilter_fields = explode( ",", $filterorder );
     29} else {
     30        if( isset($queue) && ($queue!='')) $filter[queue]=$queue;
     31        if( isset($state) && ($state!='')) $filter[state]=$state;
     32        if( isset($user) && ($user!='')) $filter[user]=$user;
     33        if( isset($id) && ($id!='')) $filter[id]=$id;
     34}
    2835
    2936// Fill filter array in order they were picked by user
     
    234241        if( array_key_exists( "id", $filter ) ) {
    235242
     243                //print_r( $context_metrics );
     244
    236245                if (is_array($context_metrics) ) {
    237246                        $metric_menu = "<B>Metric</B>&nbsp;&nbsp;"
Note: See TracChangeset for help on using the changeset viewer.