torznabquery: add isGenreQuery conditional

This commit is contained in:
Garfield69
2022-07-31 09:32:21 +12:00
parent 4dfe9d91ff
commit 60066a5827

View File

@@ -69,6 +69,8 @@ namespace Jackett.Common.Models
public bool IsDoubanQuery => DoubanID != null;
public bool IsGenreQuery => Genre != null;
public bool HasSpecifiedCategories => (Categories != null && Categories.Length > 0);
public string SanitizedSearchTerm