diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp index a8b54ed56c9..ea81cf60109 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -84,7 +84,7 @@ final String escaped_fqtn = StringEscapeUtils.escapeHtml4(fqtn); String sortKey = request.getParameter("sort"); String reverse = request.getParameter("reverse"); - final boolean reverseOrder = (reverse==null||!reverse.equals("false")); + final boolean reverseOrder = (reverse != null && reverse.equals("true")); String showWholeKey = request.getParameter("showwhole"); final boolean showWhole = (showWholeKey!=null && showWholeKey.equals("true")); Table table; @@ -455,7 +455,7 @@ Sort As Ascending -ShowDetailName&Start/End Key +ShowDetailName

@@ -634,8 +634,8 @@ ShowDetailName&Start/End Key - <%= escapeXml(showWhole?Bytes.toStringBinary(regionInfo.getEndKey()):"-")%> + <%= escapeXml(Bytes.toStringBinary(regionInfo.getStartKey()))%> + <%= escapeXml(Bytes.toStringBinary(regionInfo.getEndKey()))%> <%= state%> <% if (withReplica) {