diff options
| author | Ken D'Ambrosio <ken@jots.org> | 2026-06-18 21:58:04 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@jots.org> | 2026-06-18 21:58:04 +0000 |
| commit | c5ec42b2f42e285a95610f1b9b9efba4beef3d7e (patch) | |
| tree | 549fdff3243113484a840bf0bc631c65eda4fddc /views/layout.erb | |
| parent | 462e0081cc9062beb29530e84d15edf2003802db (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'views/layout.erb')
| -rw-r--r-- | views/layout.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/layout.erb b/views/layout.erb index 6a85482..17a5983 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -22,7 +22,7 @@ <header class="site-header"> <a href="/browse/" class="site-logo">Albumen</a> <form action="/search" method="get" class="header-search"> - <input type="search" name="q" placeholder="Search…" autocomplete="off" + <input type="search" name="q" placeholder="Album search…" autocomplete="off" value="<%= defined?(@search_query) ? ERB::Util.html_escape(@search_query.to_s) : '' %>" class="header-search-input"> </form> |
