film genres sorted alphabetically

This commit is contained in:
Chneemann 2024-09-05 04:49:20 +02:00
parent 20a399b5c7
commit a13e74d2e6
2 changed files with 22 additions and 20 deletions

View file

@ -1,19 +1,20 @@
FILM_GENRES = [ FILM_GENRES = [
('action', 'Action'), ('action', 'Action'),
('adventure', 'Adventure'), ('adventure', 'Adventure'),
('comedy', 'Comedy'),
('drama', 'Drama'),
('horror', 'Horror'),
('science_fiction', 'Science Fiction'),
('fantasy', 'Fantasy'),
('romance', 'Romance'),
('thriller', 'Thriller'),
('mystery', 'Mystery'),
('crime', 'Crime'),
('animation', 'Animation'), ('animation', 'Animation'),
('anime', 'Anime'),
('comedy', 'Comedy'),
('crime', 'Crime'),
('documentary', 'Documentary'), ('documentary', 'Documentary'),
('drama', 'Drama'),
('fantasy', 'Fantasy'),
('horror', 'Horror'),
('musical', 'Musical'), ('musical', 'Musical'),
('mystery', 'Mystery'),
('other', 'Miscellaneous'),
('romance', 'Romance'),
('science_fiction', 'Science Fiction'),
('thriller', 'Thriller'),
('war', 'War'), ('war', 'War'),
('western', 'Western'), ('western', 'Western'),
('other', 'Miscellaneous'),
] ]

View file

@ -28,21 +28,22 @@ export class CategoriesComponent implements AfterViewInit {
filmGenres = [ filmGenres = [
{ code: 'action', name: 'Action' }, { code: 'action', name: 'Action' },
{ code: 'adventure', name: 'Adventure' }, { code: 'adventure', name: 'Adventure' },
{ code: 'comedy', name: 'Comedy' },
{ code: 'drama', name: 'Drama' },
{ code: 'horror', name: 'Horror' },
{ code: 'science_fiction', name: 'Science Fiction' },
{ code: 'fantasy', name: 'Fantasy' },
{ code: 'romance', name: 'Romance' },
{ code: 'thriller', name: 'Thriller' },
{ code: 'mystery', name: 'Mystery' },
{ code: 'crime', name: 'Crime' },
{ code: 'animation', name: 'Animation' }, { code: 'animation', name: 'Animation' },
{ code: 'anime', name: 'Anime' },
{ code: 'comedy', name: 'Comedy' },
{ code: 'crime', name: 'Crime' },
{ code: 'documentary', name: 'Documentary' }, { code: 'documentary', name: 'Documentary' },
{ code: 'drama', name: 'Drama' },
{ code: 'fantasy', name: 'Fantasy' },
{ code: 'horror', name: 'Horror' },
{ code: 'musical', name: 'Musical' }, { code: 'musical', name: 'Musical' },
{ code: 'mystery', name: 'Mystery' },
{ code: 'other', name: 'Miscellaneous' },
{ code: 'romance', name: 'Romance' },
{ code: 'science_fiction', name: 'Science Fiction' },
{ code: 'thriller', name: 'Thriller' },
{ code: 'war', name: 'War' }, { code: 'war', name: 'War' },
{ code: 'western', name: 'Western' }, { code: 'western', name: 'Western' },
{ code: 'other', name: 'Miscellaneous' },
]; ];
ngAfterViewInit() { ngAfterViewInit() {