diff --git a/internal/form/album_search.go b/internal/form/album_search.go index c27283653..4690d7454 100644 --- a/internal/form/album_search.go +++ b/internal/form/album_search.go @@ -22,3 +22,7 @@ func (f *AlbumSearch) SetQuery(q string) { func (f *AlbumSearch) ParseQueryString() error { return ParseQueryString(f) } + +func NewAlbumSearch(query string) AlbumSearch { + return AlbumSearch{Query: query} +}