Added cutoff functionality for tutorial queries
diff --git a/templates/search.html.ep b/templates/search.html.ep
index 47191b9..abab210 100644
--- a/templates/search.html.ep
+++ b/templates/search.html.ep
@@ -8,7 +8,7 @@
% $pages = $pages < 0 ? 0 : $pages;
<div id="pagination"><%= pagination(stash('search.startPage'), $pages, $url) =%></div>
<p class="found">Found
- <span id="total-results"><%= commify(stash('search.totalResults')) %> matches</span>
+ <span id="total-results"><% if (stash('search.totalResults') == -1) { %>unknown<% } else { %><%= commify(stash('search.totalResults')) %><% } %> matches</span>
<% if (stash 'search.benchmark') { %> in <%= stash 'search.benchmark' %><% } %>
</p>
</div>