Commits

Tetsuya Morimoto  committed 480afcf

fixed to show the localized Relationships field name in column checkbox/select options

  • Participants
  • Parent commits c8c187c

Comments (0)

Files changed (1)

File ticketref/web_ui.py

                     field["rendered"] = tag([new])
 
     def _filter_groups(self, req, data):
-        for header in data["headers"]:
+        fields_tref = data["fields"].get(TREF)
+        if fields_tref:  # column checkbox/select option
+            fields_tref["label"] = _("Relationships")
+        for header in data["headers"]:  # list view header
             if header["name"] == TREF:
                 header["label"] = _("Relationships")
         for group, tickets in data["groups"]: