Display restaraunt IDs instead of search enumerator
This commit is contained in:
parent
4ba4799083
commit
7f164ca4ca
@ -141,14 +141,14 @@
|
||||
<table class="table table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>Score</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{#each results}}
|
||||
<tr>
|
||||
<td>{{@index}}</td>
|
||||
<td>{{id}}</td>
|
||||
<td><a href="{{url}}">{{name}}</a></td>
|
||||
<td>{{score}}</td>
|
||||
</tr>
|
||||
|
@ -113,7 +113,8 @@ function findRecords(data, searchParams, minScore) {
|
||||
results.push({
|
||||
name: record.name,
|
||||
url: 'http://www.tripadvisor.com' + record.relativeUrl,
|
||||
score: score
|
||||
score: score,
|
||||
id: record.id
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user