Opened 4 years ago
Closed 4 years ago
#8401 closed defect (bug) (fixed)
Group Types: the bp_group_type_list() template tag can output empty links
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 7.0.0 | Priority: | high |
Severity: | major | Version: | |
Component: | Groups | Keywords: | has-patch |
Cc: |
Description
If the Group Type's has_directory
property is set to false
and its show_in_list
property is true
, the Group type's directory url is empty and the template tag is using it into the href
attribute of the link of the listed Group Type. Clicking on it, we are refreshing the current group's page.
Moreover, using the Group Type's name property into the text of the link is wrong as it's not the singular name, it's the plural one.
Moreover II, The label used before the group types list should only be plural if there are more than one Group Type listed
8401.patch is addressing the issues.