Tetsuya Morimoto committed 480afcf

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

Comments (0)

Files changed (1)


                     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"]: