Limited filter on Job Events page to only those fields that make sense: Host and Status

This commit is contained in:
chouseknecht
2013-06-19 10:22:23 -04:00
parent 85a483a6fb
commit 964a523daf
3 changed files with 24 additions and 5 deletions

View File

@@ -33,7 +33,10 @@ angular.module('ChildrenHelper', ['RestServices', 'Utilities'])
// Expand or collapse children based on clicked element's icon
if (set[clicked]['ngicon'] == 'icon-expand-alt') {
// Expand: lookup and display children
Rest.setUrl(children);
var url = children;
var search = scope[list.iterator + 'SearchParams'].replace(/^\&/,'').replace(/^\?/,'');
url += (search) ? '?' + search : "";
Rest.setUrl(url);
Rest.get()
.success( function(data, status, headers, config) {
var found = false;