?
avatar titusvk
titusvk
1 Jul 2020

Steps to reproduce the issue

Create 21 contacts with com_contacts
Create Menu Item with Menu Item Type "List Contacts in a Category"
Set Contact Display Options "# Articles to List" to "All"

Expected result

all (9999)

Actual result

20

System information (as much as possible)

Contact Category Model shows $app->get('list_limit') is set to 20

Additional comments

Quick fix with system plugin:

function onAfterRoute()
{
    // Contakt List Bug - Override List Limit
    
    Factory::getApplication()->set('list_limit',999);
}
avatar titusvk titusvk - open - 1 Jul 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Jul 2020
avatar PhilETaylor
PhilETaylor - comment - 1 Jul 2020

Set Contact Display Options "# Articles to List" to "All"

try # Contacts to List on the List Layouts tab as that is the param contacts_display_num which is used as a limit here

$numberOfContactsToDisplay = $mergedParams->get('contacts_display_num');

		$numberOfContactsToDisplay = $mergedParams->get('contacts_display_num');

		if ($format === 'feed')
		{
			$limit = $app->get('feed_limit');
		}
		elseif (isset($numberOfContactsToDisplay))
		{
			$limit = $numberOfContactsToDisplay;
		}
		else
		{
			$limit = $app->getUserStateFromRequest('global.list.limit', 'limit', $app->get('list_limit'), 'uint');
		}
avatar brianteeman
brianteeman - comment - 1 Jul 2020

Perhaps there is a bad translation here?

avatar SharkyKZ
SharkyKZ - comment - 1 Jul 2020

The option does what it says. It sets the number of articles. There's no option to set number of contacts in J3. Only in J4.

avatar PhilETaylor
PhilETaylor - comment - 1 Jul 2020

Only in J4.

doh. I assumed Joomla 4. Sorry.

avatar brianteeman
brianteeman - comment - 1 Jul 2020

Pagination (list limit) for contacts is the global value set in configuration.php

avatar SharkyKZ SharkyKZ - close - 8 Jul 2020
avatar SharkyKZ
SharkyKZ - comment - 8 Jul 2020

Closing as expected behavior for J3.

avatar SharkyKZ SharkyKZ - change - 8 Jul 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-07-08 08:01:40
Closed_By SharkyKZ

Add a Comment

Login with GitHub to post a comment