Repository: airavata-php-gateway Updated Branches: refs/heads/develop 79ff06b57 -> 1563d9fe6
AIRAVATA-1792 Only add extra filters when given Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/2c92692e Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/2c92692e Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/2c92692e Branch: refs/heads/develop Commit: 2c92692e0bea414a859f8f918aead08181712341 Parents: 79ff06b Author: Marcus Christie <[email protected]> Authored: Wed Dec 28 10:03:45 2016 -0500 Committer: Marcus Christie <[email protected]> Committed: Wed Dec 28 10:03:45 2016 -0500 ---------------------------------------------------------------------- app/views/admin/manage-experiments.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/2c92692e/app/views/admin/manage-experiments.blade.php ---------------------------------------------------------------------- diff --git a/app/views/admin/manage-experiments.blade.php b/app/views/admin/manage-experiments.blade.php index e38370f..aa021c1 100644 --- a/app/views/admin/manage-experiments.blade.php +++ b/app/views/admin/manage-experiments.blade.php @@ -595,9 +595,9 @@ to be uncommented when actually in use. $(".loading-img-statistics").removeClass("hide"); $.ajax({ url: 'experimentStatistics?fromTime=' + startTime + '&' + 'toTime=' + endTime - + '&username=' + encodeURIComponent(username) - + '&appname=' + encodeURIComponent(appname) - + '&hostname=' + encodeURIComponent(hostname), + + (username ? '&username=' + encodeURIComponent(username) : '') + + (appname ? '&appname=' + encodeURIComponent(appname) : '') + + (hostname ? '&hostname=' + encodeURIComponent(hostname) : ''), type: 'get', success: function (data) { if( msg == null){
