Skip to content

Commit

Permalink
getTitlealt: fallback to primLang-titlealt
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Sep 19, 2023
1 parent cc45d19 commit 9eeae09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/zmsobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def getTitle( self, REQUEST):
# ZMSObject.getTitlealt
# --------------------------------------------------------------------------
def getTitlealt( self, REQUEST):
s = self.getObjProperty('titlealt', REQUEST)
s = self.getObjProperty('titlealt', REQUEST) or self.getObjProperty('titlealt', {'lang':self.getPrimaryLanguage()})
if not s:
s = self.display_type()
if not s:
Expand Down

0 comments on commit 9eeae09

Please sign in to comment.