Skip to content

Commit d42ffdf

Browse files
committed
Rename "Filtered genres" setting label to "Filtered categories" (PP-4074)
Updates the user-facing label and description only; the underlying `filtered_genres` variable is retained since it matches against genre names used elsewhere in the codebase.
1 parent e181ea1 commit d42ffdf

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • src/palace/manager/integration/configuration

src/palace/manager/integration/configuration/library.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,14 @@ class LibrarySettings(BaseSettings):
405405
level=Level.SYS_ADMIN_OR_MANAGER,
406406
),
407407
] = []
408+
# UI label says "Filtered categories" (renamed in PP-4074), but the variable stays
409+
# `filtered_genres` because the values it matches against are called genres elsewhere
410+
# in the codebase.
408411
filtered_genres: Annotated[
409412
list[str],
410413
LibraryFormMetadata(
411-
label="Filtered genres",
412-
description="Content in these genres will be hidden from catalog browse and search results.",
414+
label="Filtered categories",
415+
description="Content in these categories (genres) will be hidden from catalog browse and search results.",
413416
type=FormFieldType.MENU,
414417
options=lambda _db: {name: name for name in sorted(genres.keys())},
415418
category="Content Filtering",

0 commit comments

Comments
 (0)