Commit 3ed6dd6b authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #183 from hypothesis/update-tag-service-urls

Update tag service urls
parents 0d223d88 c83f79c0
......@@ -413,7 +413,7 @@ function AnnotationController(
});
};
vm.tagStreamURL = function(tag) {
vm.tagSearchURL = function(tag) {
return serviceUrl('search.tag', {tag: tag});
};
......
......@@ -15,7 +15,7 @@ var ROUTES = {
'groups.new': 'groups/new',
'help': 'docs/help',
'signup': 'signup',
'search.tag': 'stream?q=tag::tag',
'search.tag': 'search?q=tag:":tag"',
'user': 'u/:user',
};
......
......@@ -95,7 +95,7 @@
ng-if="(vm.canCollapseBody || vm.state().tags.length) && !vm.editing()">
<ul class="tag-list">
<li class="tag-item" ng-repeat="tag in vm.state().tags">
<a ng-href="{{vm.tagStreamURL(tag)}}" target="_blank">{{tag}}</a>
<a ng-href="{{vm.tagSearchURL(tag)}}" target="_blank">{{tag}}</a>
</li>
</ul>
<div class="u-stretch"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment