Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
fix: use item original title if present (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension authored Nov 20, 2023
1 parent 1a91752 commit eb07188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contents/Code/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def cache_data():
issue_title = '{} ({})'.format(item.title, year)
database_id = None
else:
issue_title = '{} ({})'.format(item.title, year)
issue_title = '{} ({})'.format(getattr(item, "originalTitle", None) or item.title, year)
else: # collections
issue_title = item.title

Expand Down

0 comments on commit eb07188

Please sign in to comment.