diff --git a/app/main.py b/app/main.py index 7a4ef9d..99aec47 100644 --- a/app/main.py +++ b/app/main.py @@ -474,7 +474,7 @@ def _get_tags_with_previews(kind=None, limit=35, offset=0, images_per_tag=3, sea tag_ids = [t.id for t, _ in tags_with_counts] tag_map = {} for t, count in tags_with_counts: - label = t.name.split(":", 1)[1] if (":" in t.name) else t.name + label = t.display_name tag_map[t.id] = { "id": t.id, "name": label, @@ -2479,7 +2479,7 @@ def read_series(tag_id): start_page = request.args.get('page', 1, type=int) # Get series name (strip prefix if present) - series_name = tag.name.split(':', 1)[1] if ':' in tag.name else tag.name + series_name = tag.name return render_template( 'reader.html',