Skip to content

Commit

Permalink
Search: fix author search results reading
Browse files Browse the repository at this point in the history
After moving to a new API endpoint the structure name has
changed from 'results' to 'authors'.
  • Loading branch information
mickeyn committed Jun 28, 2017
1 parent acc8b61 commit 4d223b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/search.html
Expand Up @@ -6,7 +6,7 @@
<% IF authors.total %>
<div class="author-results">
<ul class="authors clearfix">
<%- FOREACH author IN authors.results %>
<%- FOREACH author IN authors.authors %>
<li>
<a href="/author/<% author.id %>" title="Author page for <% author.name | html %>">
<%- IF author.gravatar_url %>
Expand Down

0 comments on commit 4d223b3

Please sign in to comment.