Add category search, and search result markers with icons #35

Open
raucao wants to merge 25 commits from feature/poi_type_search into master
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 4008a8c883 - Show all commits

View File

@@ -146,7 +146,7 @@ export default class PlacesSidebar extends Component {
get isNearbySearch() {
const qp = this.router.currentRoute.queryParams;
return !qp.q && qp.lat && qp.lon;
return !qp.q && !qp.category && qp.lat && qp.lon;
}
<template>

View File

@@ -215,5 +215,7 @@ module('Acceptance | search', function (hooks) {
);
assert.dom('.places-list li').exists({ count: 1 });
assert.dom('.places-list li .place-name').hasText('Latte Art Cafe');
// Ensure it shows "Results" not "Nearby"
assert.dom('.sidebar-header h2').includesText('Results');
});
});