summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/android/vts/servlet/ShowPlanReleaseServlet.java2
-rw-r--r--src/main/webapp/WEB-INF/jsp/show_suite_release.jsp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/android/vts/servlet/ShowPlanReleaseServlet.java b/src/main/java/com/android/vts/servlet/ShowPlanReleaseServlet.java
index b068b0c..980dfdd 100644
--- a/src/main/java/com/android/vts/servlet/ShowPlanReleaseServlet.java
+++ b/src/main/java/com/android/vts/servlet/ShowPlanReleaseServlet.java
@@ -287,7 +287,7 @@ public class ShowPlanReleaseServlet extends BaseServlet {
String testPlan = request.getParameter("plan");
String groupType =
request.getParameter("groupType") == null
- ? "OTA"
+ ? "TOT"
: request.getParameter("groupType");
int page =
request.getParameter("page") == null
diff --git a/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp b/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp
index 87bf01b..99e5465 100644
--- a/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp
+++ b/src/main/webapp/WEB-INF/jsp/show_suite_release.jsp
@@ -47,14 +47,14 @@
<div class='col s12'>
<ul class="tabs">
- <li class="tab col s6" id="otaTabLink">
- <a class="${groupType == 'OTA' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?plan=${plan}&type=${testType}&groupType=OTA">OTA</a>
+ <li class="tab col s6" id="totTabLink">
+ <a class="${groupType == 'TOT' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?plan=${plan}&type=${testType}&groupType=TOT">TOT</a>
</li>
<li class="tab col s6" id="signedTabLink">
<a class="${groupType == 'SIGNED' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?plan=${plan}&type=${testType}&groupType=SIGNED">SIGNED</a>
</li>
- <li class="tab col s6" id="totTabLink">
- <a class="${groupType == 'TOT' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?plan=${plan}&type=${testType}&groupType=TOT">TOT</a>
+ <li class="tab col s6" id="otaTabLink">
+ <a class="${groupType == 'OTA' ? 'active' : 'inactive'}" href="${requestScope['javax.servlet.forward.servlet_path']}?plan=${plan}&type=${testType}&groupType=OTA">OTA</a>
</li>
</ul>