1
This commit is contained in:
Alex Yatskov 2014-11-09 11:32:16 +09:00
parent ed2020d4d2
commit 1b671e288f
2 changed files with 2 additions and 4 deletions

View File

@ -37,7 +37,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="form-group"> <div class="form-group">
<label for="searchKeyword">Keyword</label> <label for="searchKeyword">Keyword <span class="label label-warning" id="customized" style="display: none;">Cutomized</span></label>
<select id="searchKeyword" class="form-control"></select> <select id="searchKeyword" class="form-control"></select>
</div> </div>
<div class="form-group"> <div class="form-group">

View File

@ -131,9 +131,8 @@
} }
$.getJSON('/search', _ctx.query, function(results) { $.getJSON('/search', _ctx.query, function(results) {
_ctx.grapher.setColumns(results.columns);
saveSnapshot(results); saveSnapshot(results);
outputMatches(results.items, results.count); outputSnapshot(results);
}); });
} }
@ -168,7 +167,6 @@
var searchResultCnt = String(results.length); var searchResultCnt = String(results.length);
if (results.length < count) { if (results.length < count) {
searchResultCnt += ' of ' + count; searchResultCnt += ' of ' + count;
} }
$('#resultCount').text(searchResultCnt); $('#resultCount').text(searchResultCnt);