From patchwork Thu Jul 25 14:27:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stevan Radakovic X-Patchwork-Id: 18576 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7B3A125DF6 for ; Thu, 25 Jul 2013 14:27:29 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id z20sf1859964yhz.3 for ; Thu, 25 Jul 2013 07:27:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=Tp+e70SVUEuzKXKUb722pL48B3RQc3XsdYtMVn3NtbI=; b=AtYm6/TPl8tTETS8fgCdOC0kuL2otkh/TiLf/exssXQqmLTnQYEMp6ShMZP7m5OT7q 3fEwFudhm6GPZiZonHantkEp5ydVTineraSrpbHjyuKTUwaQnNLWkvxXQM4q6QRS/frZ NFnj+WTBYoeaHNhnxXB2zO5n9otK4bvY3MQKA2xxYwnd4kHyJ7ng9BzHPS35B66FQQvX CbsFIPkB8M5phg4IQhC26NZVRmVz3S54BXJXHMU3ajYo88lrfPvyUNr2TExXuwnTPKc+ oLwe4y8HLfVrOcpekol5kefs80mBLaUbIfDvIJtM+uiXo/Jtasot5sMoLwmq2+HaBlsr 4hMQ== X-Received: by 10.236.123.70 with SMTP id u46mr22783051yhh.20.1374762448748; Thu, 25 Jul 2013 07:27:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.73.137 with SMTP id l9ls620482qev.0.gmail; Thu, 25 Jul 2013 07:27:28 -0700 (PDT) X-Received: by 10.220.101.81 with SMTP id b17mr700771vco.79.1374762448636; Thu, 25 Jul 2013 07:27:28 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id ex7si12432642vdb.83.2013.07.25.07.27.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Jul 2013 07:27:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id pb11so514433veb.23 for ; Thu, 25 Jul 2013 07:27:28 -0700 (PDT) X-Received: by 10.220.203.197 with SMTP id fj5mr714216vcb.60.1374762448492; Thu, 25 Jul 2013 07:27:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp80290veb; Thu, 25 Jul 2013 07:27:27 -0700 (PDT) X-Received: by 10.180.185.176 with SMTP id fd16mr2334937wic.20.1374762447406; Thu, 25 Jul 2013 07:27:27 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id b2si1667817wie.11.2013.07.25.07.27.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 07:27:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1V2MVq-0004rh-Pr for ; Thu, 25 Jul 2013 14:27:26 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id B5877E0984 for ; Thu, 25 Jul 2013 14:27:26 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 413 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 413: Fix for bug #1198190. Reviewed by stylesen. Message-Id: <20130725142726.18651.93934.launchpad@ackee.canonical.com> Date: Thu, 25 Jul 2013 14:27:26 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16700"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 0076a03fb6a68e2f30349f8355e35f5d4c98c252 X-Gm-Message-State: ALoCoQm9/V5m2RHHrhC9MHz6hwmh37Sk/r0qcITPolMWzSX9L/E1TsUqRGqqp7B6kj+LcE7aBVPK X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Stevan Radaković (stevanr) Related merge proposals: https://code.launchpad.net/~stevanr/lava-dashboard/fix-1198190/+merge/176942 proposed by: Stevan Radaković (stevanr) review: Approve - Senthil Kumaran S (stylesen) ------------------------------------------------------------ revno: 413 [merge] committer: Stevan Radakovic branch nick: trunk timestamp: Thu 2013-07-25 16:26:15 +0200 message: Fix for bug #1198190. Reviewed by stylesen. modified: dashboard_app/static/dashboard_app/js/image-report.js --- lp:lava-dashboard https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk You are subscribed to branch lp:lava-dashboard. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription === modified file 'dashboard_app/static/dashboard_app/js/image-report.js' --- dashboard_app/static/dashboard_app/js/image-report.js 2013-07-03 14:48:22 +0000 +++ dashboard_app/static/dashboard_app/js/image-report.js 2013-07-25 13:57:18 +0000 @@ -104,9 +104,9 @@ // Create column headlines. result_table_head = ""; for (iter in column_data) { - build_number = column_data[iter]["number"].split('.')[0]; + if (test_build_number(column_data, iter)) { - if (test_build_number(column_data, iter)) { + build_number = column_data[iter]["number"].split('.')[0]; if (!isNumeric(build_number)) { build_number = format_date(build_number.split(' ')[0]); } @@ -381,7 +381,7 @@ function test_build_number(column_data, iter) { // Test if the build number/date is between specified number/date boundaries. - build_number = column_data[iter]["date"]; + var build_number = column_data[iter]["date"]; if (build_number <= $("#build_number_end").val() && build_number >= $("#build_number_start").val()) { return true;