From c5ec42b2f42e285a95610f1b9b9efba4beef3d7e Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Thu, 18 Jun 2026 21:58:04 +0000 Subject: Rename global search to "Album Search" and group results by album Photo search was returning every individual matching photo, which was overkill for what's meant to be a quick way to find an album. /search now groups matches by album (cover thumbnail + match count) instead of listing each photo, and is relabeled "Album Search" throughout the UI. Co-Authored-By: Claude Sonnet 4.6 --- views/search.erb | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) (limited to 'views/search.erb') diff --git a/views/search.erb b/views/search.erb index 1010284..00c9553 100644 --- a/views/search.erb +++ b/views/search.erb @@ -1,5 +1,5 @@
-

Search

+

Album Search

<% if @results %>

- <%= @total %> result<%= @total == 1 ? '' : 's' %> - <% if @total > @results.length %>(showing first <%= @results.length %>)<% end %> + <%= @total %> album<%= @total == 1 ? '' : 's' %> matched

<% if @results.empty? %> -

No photos matched "<%= ERB::Util.html_escape(@search_query) %>".

+

No albums matched "<%= ERB::Util.html_escape(@search_query) %>".

<% else %>