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">
|
<table class="table table-striped table-condensed">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>Id</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Score</th>
|
<th>Score</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{{#each results}}
|
{{#each results}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{@index}}</td>
|
<td>{{id}}</td>
|
||||||
<td><a href="{{url}}">{{name}}</a></td>
|
<td><a href="{{url}}">{{name}}</a></td>
|
||||||
<td>{{score}}</td>
|
<td>{{score}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -113,7 +113,8 @@ function findRecords(data, searchParams, minScore) {
|
|||||||
results.push({
|
results.push({
|
||||||
name: record.name,
|
name: record.name,
|
||||||
url: 'http://www.tripadvisor.com' + record.relativeUrl,
|
url: 'http://www.tripadvisor.com' + record.relativeUrl,
|
||||||
score: score
|
score: score,
|
||||||
|
id: record.id
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user