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
@@ -36,19 +36,22 @@ defmodule Pinchflat.MediaSourceFixtures do
id: "video1",
title: "Video 1",
original_url: "https://example.com/video1",
was_live: false
was_live: false,
description: "desc1"
},
%{
id: "video2",
title: "Video 2",
original_url: "https://example.com/video2",
was_live: true
was_live: true,
description: "desc2"
},
%{
id: "video3",
title: "Video 3",
original_url: "https://example.com/video3",
was_live: false
was_live: false,
description: "desc3"
}
]