?
avatar saguweb
saguweb
4 Nov 2015

Currently attempting to use two instances of the module Articles - Category. However, the results for both listings always end up the same. The problem maybe in the fact that I'm referencing the same category but with different ordering and filtering. For example, I have one list ordered by Hits (Trending) and the other by Published Date (Latest).

Has anyone else experienced this? It works okay when I use a different category, but I suspect that the database call or reference is not unique when having this instance. Attached are the screenshots for each module:
Trending
Latest

avatar saguweb saguweb - open - 4 Nov 2015
avatar zero-24 zero-24 - change - 4 Nov 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 4 Nov 2015
Category Front End Modules
avatar saguweb
saguweb - comment - 16 Nov 2015

Which code should I attach?

avatar zero-24
zero-24 - comment - 16 Nov 2015

@saguweb This is just a internal mark that this is a issue an no pull request ;)

avatar mbabker
mbabker - comment - 1 Jun 2016

The code in the module generating the cache IDs does not use enough unique variables for the ID. Basically it's an MD5 string of a serialized array containing the module name (mod_articles_category) and the current page's content item ID, category ID, or a null value if not meeting certain criteria. It needs additional (known) values to make the resulting data more unique (using $module->id in that code will help).

avatar brianteeman brianteeman - change - 3 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-03 09:57:27
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 3 Aug 2016

Closed as we have a PR for testing #11411


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

avatar brianteeman brianteeman - close - 3 Aug 2016

Add a Comment

Login with GitHub to post a comment