summaryrefslogtreecommitdiffstats
path: root/etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs')
-rw-r--r--etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs4
1 files changed, 2 insertions, 2 deletions
diff --git a/etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs b/etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs
index a254dc1..1996dc5 100644
--- a/etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs
+++ b/etherpad/src/plugins/urlIndexer/templates/urlBrowser.ejs
@@ -18,7 +18,7 @@ limitations under the License. */ %>
helpers.setHtmlTitle("EtherPad: Browse URLs by tags");
helpers.includeCss("plugins/twitterStyleTags/tagBrowser.css");
helpers.includeCss("plugins/twitterStyleTags/pad.css");
- helpers.addToHead('\n<link rel="alternate" href="/ep/url/?query=' + tagQuery.tagsToQuery(tags, antiTags) + '&format=rss" type="application/rss+xml" title="Query results as RSS" />\n');
+ helpers.addToHead('\n<link rel="alternate" href="' + helpers.updateToUrl({format:'rss'}) + '" type="application/rss+xml" title="Query results as RSS" />\n');
function inArray(item, arr) {
for (var i = 0; i < arr.length; i++)
@@ -46,7 +46,7 @@ limitations under the License. */ %>
<dd>
<a href="<%= matchingPadUrl %>"><%= matchingPadId %></a>:
<% for (j = 0; j < matchingUrls[i].TAGS.length; j++) { %>
- <a href="/ep/url/?query=<%= tagQuery.tagsToQuery(tags.concat([matchingUrls[i].TAGS[j]]), antiTags) %>" class="padtag" title="<%= matchingUrls[i].TAGS[j] %> matches">#<%= matchingUrls[i].TAGS[j] %></a>
+ <a href="<%= helpers.updateToUrl({query:tagQuery.tagsToQuery(tags.concat([matchingUrls[i].TAGS[j]]), antiTags)}) %>" class="padtag" title="<%= matchingUrls[i].TAGS[j] %> matches">#<%= matchingUrls[i].TAGS[j] %></a>
<% } %>
</dd>
<% } %>