Editors can now add anime from scratch

This commit is contained in:
2019-10-16 14:44:53 +09:00
parent 5ec435cf99
commit 75c03c7bdc
9 changed files with 180 additions and 62 deletions

View File

@ -60,6 +60,10 @@ func filterAnime(year, season, status, typ string) []*arn.Anime {
results := make([]*arn.Anime, 0, 1024)
for anime := range arn.StreamAnime() {
if anime.IsDraft {
continue
}
if year != "any" {
if len(anime.StartDate) < 4 {
continue