Skip to content

Commit ab23574

Browse files
committed
Fix not to show "1 - 0 of 0" for history Results count
Also: use en dash
1 parent 3dee115 commit ab23574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-web/src/main/webapp/history.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ include file="pageheader.jspf"
125125
</div>
126126
<div id="Masthead">History log of
127127
<%= Util.breadcrumbPath(context + Prefix.XREF_P, path,'/',"",true,cfg.isDir()) %>
128-
(Results <b> <%= start + 1 %> - <%= thispage + start
128+
(Results <b> <%= totalHits != 0 ? start + 1 : 0 %> <%= thispage + start
129129
%></b> of <b><%= totalHits %></b>)
130130
</div>
131131
<%

0 commit comments

Comments
 (0)