Search Page Adjustments

This commit is contained in:
Simon Martens
2022-11-01 17:14:49 +01:00
parent a6093e3246
commit 74a952270d
8 changed files with 116 additions and 336 deletions

View File

@@ -11,8 +11,6 @@ public class IndexViewModel {
public List<(string Volume, List<string> Pages)>? AvailablePages { get; private set; }
public string? ActiveVolume { get; private set; }
public string? ActivePage { get; private set; }
public string? ActiveSearch { get; private set; }
public Dictionary<string, List<SearchResult>>? SearchResults { get; private set; }
public IndexViewModel(
List<(int Year, List<BriefeMetaViewModel> LetterList)>? letters,
@@ -21,9 +19,7 @@ public class IndexViewModel {
List<(string Key, string Name)>? availablePersons,
List<(string Volume, List<string> Pages)>? availablePages,
string? activeVolume,
string? activePage,
string? activeSearch,
Dictionary<string, List<SearchResult>>? searchResults
string? activePage
) {
Letters = letters;
if (letters != null)
@@ -36,7 +32,5 @@ public class IndexViewModel {
AvailablePages = availablePages;
ActiveVolume = activeVolume;
ActivePage = activePage;
ActiveSearch = activeSearch;
SearchResults = searchResults;
}
}