Skip to content

Commit

Permalink
New filter option: IsInSeries, InSeries
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcrackan committed Sep 9, 2024
1 parent eb659cc commit f0b5ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/AppScaffolding/AppScaffolding.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>11.3.16.1</Version>
<Version>11.3.17.1</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Octokit" Version="11.0.1" />
Expand Down
1 change: 1 addition & 0 deletions Source/LibationSearchEngine/SearchEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private static bool isAuthorNarrated(Book book)
{ FieldType.Bool, lb => (lb.Book.UserDefinedItem.BookStatus == LiberatedStatus.Error).ToString(), "LiberatedError" },
{ FieldType.Bool, lb => lb.Book.IsEpisodeChild().ToString(), "Podcast", "Podcasts", "IsPodcast", "Episode", "Episodes", "IsEpisode" },
{ FieldType.Bool, lb => lb.AbsentFromLastScan.ToString(), "AbsentFromLastScan", "Absent" },
{ FieldType.Bool, lb => (!string.IsNullOrWhiteSpace(lb.Book.SeriesNames())).ToString(), "IsInSeries", "InSeries" },
// all numbers are padded to 8 char.s
// This will allow a single method to auto-pad numbers. The method will match these as well as date: yyyymmdd
{ FieldType.Number, lb => lb.Book.LengthInMinutes.ToLuceneString(), nameof(Book.LengthInMinutes), "Length", "Minutes" },
Expand Down

0 comments on commit f0b5ae1

Please sign in to comment.