? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
25 Feb 2020

Pull Request for Issue #28074

Summary of Changes

Only collect contacts when requested to avoid looking over all contacts

Testing Instructions

  • create more than one contact
  • create a single contact menu item
  • open the item
  • apply this patch
  • see the page again
  • enable the option "show_contact_list"
  • make sure that still works

Expected result

everything works than expected and no more longstanding 90% of the time useless loop over all contacts.

Actual result

A long standing loop over all contacts even on the single contact page.

Documentation Changes Required

None.

avatar zero-24 zero-24 - open - 25 Feb 2020
avatar zero-24 zero-24 - change - 25 Feb 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Feb 2020
Category Front End com_contact
avatar ReLater
ReLater - comment - 25 Feb 2020

I have tested this item successfully on 9ccd259

Tested with setting "Show Contact List" in global "Contacts" configuration/options and debug line in view.html.php.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28077.

avatar ReLater ReLater - test_item - 25 Feb 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 25 Feb 2020

I have tested this item successfully on 9ccd259


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28077.

avatar jwaisner jwaisner - test_item - 25 Feb 2020 - Tested successfully
avatar jwaisner jwaisner - change - 25 Feb 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 25 Feb 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28077.

avatar joomdonation
joomdonation - comment - 25 Feb 2020

@jwaisner There are still changes needed before setting to this PR to RTC

avatar richard67 richard67 - change - 25 Feb 2020
Status Ready to Commit Pending
avatar richard67 richard67 - change - 25 Feb 2020
Labels Added: ?
avatar ReLater
ReLater - comment - 26 Feb 2020

I have tested this item successfully on fc87a07


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28077.

avatar ReLater ReLater - test_item - 26 Feb 2020 - Tested successfully
avatar joomdonation
joomdonation - comment - 26 Feb 2020

I have tested this item successfully on fc87a07


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28077.

avatar joomdonation joomdonation - test_item - 26 Feb 2020 - Tested successfully
avatar Quy Quy - change - 26 Feb 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 26 Feb 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28077.

avatar rdeutz rdeutz - change - 29 Feb 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-02-29 08:29:33
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 29 Feb 2020
avatar rdeutz rdeutz - merge - 29 Feb 2020
avatar Stuartemk
Stuartemk - comment - 29 Feb 2020

Could this also apply to assets?

What happens for example in a news page that has accumulated thousands of articles?

avatar zero-24
zero-24 - comment - 29 Feb 2020

What happens for example in a news page that has accumulated thousands of articles?

Feel free to try and open an issue with the result so we can work on a patch when there is a problem. This here was specifically about that contact issue.

Add a Comment

Login with GitHub to post a comment