No Code Attached Yet
avatar Sieger66
Sieger66
4 Aug 2023

Steps to reproduce the issue

View in frontend a menue item of Menu_item_type "List Contacts in a Category"
index.php?option=com_contact&view=category
with "Table Headings" is "Show" in the "List Layouts"-Tab of this menue-item.

Expected result

In the head of the table it is the word "Name" for the column of the names of the contacts.

Actual result

Bug:
In the head of the table it is the false word "Title" and not "Name" for the column of names of the contacts.

System information (as much as possible)

all Joomla! 4 - 4.3.3

Additional comments

I think the bug is 'JGLOBAL_TITLE' in /components/com_contact/tmpl/category/default_items.php
at Line 91
https://github.com/joomla/joomla-cms/blob/4.3.3/components/com_contact/tmpl/category/default_items.php#L91

<?php echo HTMLHelper::_('grid.sort', 'JGLOBAL_TITLE', 'a.name', $listDirn, $listOrder, null, 'asc', '', 'adminForm'); ?>

correct it is:

<?php echo HTMLHelper::_('grid.sort', 'COM_CONTACT_CONTACT_EMAIL_NAME_LABEL', 'a.name', $listDirn, $listOrder, null, 'asc', '', 'adminForm'); ?>

from:
https://github.com/joomla/joomla-cms/blob/4.3.3/language/en-GB/com_contact.ini#L13

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar Sieger66 Sieger66 - open - 4 Aug 2023
avatar Sieger66 Sieger66 - change - 4 Aug 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Aug 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Aug 2023
avatar Sieger66 Sieger66 - change - 4 Aug 2023
The description was changed
avatar Sieger66 Sieger66 - edited - 4 Aug 2023
avatar Sieger66 Sieger66 - close - 4 Aug 2023
avatar Sieger66
Sieger66 - comment - 4 Aug 2023

Close, because we have a PR #41319

avatar Sieger66 Sieger66 - change - 4 Aug 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-08-04 17:17:42
Closed_By Sieger66

Add a Comment

Login with GitHub to post a comment