Changeset 811 for branches/0.4/web/addons/job_monarch/index.php
- Timestamp:
- 04/08/13 22:15:47 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/index.php
r794 r811 61 61 $filter = array(); 62 62 63 if( !isset($view) ) $view = "overview";63 if( !isset($view) && $clustername!='') $view = "overview"; 64 64 if( !isset($sortorder) ) $sortorder = "desc"; 65 65 if( !isset($sortby) ) $sortby = "id"; … … 238 238 } 239 239 240 if (!count($metrics) && $view!=' search' && $view!='host')240 if (!count($metrics) && $view!='' && $view!='search' && $view!='host') 241 241 { 242 242 echo "<h4>Cannot find any metrics for selected cluster \"$clustername\", exiting.</h4>\n"; … … 322 322 #$range = "job"; 323 323 324 if( $page_call != "host_view")324 if( ( $page_call != "host_view" ) && ( $page_call != "search" ) ) 325 325 { 326 326 … … 505 505 default: 506 506 507 include "./ overview.php";508 make Overview();507 include "./meta_view.php"; 508 makeMetaview(); 509 509 break; 510 510 }
Note: See TracChangeset
for help on using the changeset viewer.