From 0878a704d91c2525aff7d3d4bfe84e5c6de29a6d Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Tue, 24 May 2022 15:07:53 -0400 Subject: [PATCH] search engine: podcast and episode should allow plural --- Source/LibationSearchEngine/SearchEngine.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/LibationSearchEngine/SearchEngine.cs b/Source/LibationSearchEngine/SearchEngine.cs index 6b373e75..bcef08c2 100644 --- a/Source/LibationSearchEngine/SearchEngine.cs +++ b/Source/LibationSearchEngine/SearchEngine.cs @@ -130,8 +130,10 @@ namespace LibationSearchEngine ["LiberatedError"] = lb => liberatedError(lb.Book), ["Podcast"] = lb => lb.Book.ContentType == ContentType.Episode, + ["Podcasts"] = lb => lb.Book.ContentType == ContentType.Episode, ["IsPodcast"] = lb => lb.Book.ContentType == ContentType.Episode, ["Episode"] = lb => lb.Book.ContentType == ContentType.Episode, + ["Episodes"] = lb => lb.Book.ContentType == ContentType.Episode, ["IsEpisode"] = lb => lb.Book.ContentType == ContentType.Episode, } );