Search v1 (#19)

* Adds description to media items; hooks it up to indexing/media downloading

* Added a search method using postgres fulltext search

* Hooked up search functionality to the search form

* Added persistence to the search form when on search page
This commit is contained in:
Kieran
2024-02-13 17:46:14 -08:00
committed by GitHub
parent 850cf2db73
commit 58771ee37b
25 changed files with 261 additions and 25 deletions
@@ -0,0 +1,10 @@
defmodule PinchflatWeb.SearchControllerTest do
use PinchflatWeb.ConnCase
describe "show search" do
test "renders the page", %{conn: conn} do
conn = get(conn, ~p"/search")
assert html_response(conn, 200) =~ "Results"
end
end
end