Ver código fonte

Added query name with no spaces and statement to search

Andrew Kane 9 anos atrás
pai
commit
faa1574dd2
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/views/blazer/queries/index.html.erb

+ 1 - 0
app/views/blazer/queries/index.html.erb

@@ -24,6 +24,7 @@
             <% if @trending_queries[query.id] %>
               <small style="font-weight: bold; color: #f60;">TRENDING</small>
             <% end %>
+            <div class="hide"><%= query.name.gsub(/\s+/, "") %> <%= query.statement %></div>
           </td>
           <td class="creator text-right text-muted">
             <% if query.respond_to?(:creator) && (creator = query.creator) && creator.respond_to?(Blazer.user_name) %>