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:
Labels |
Added:
?
|
Category | ⇒ | Front End Modules |
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).
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-03 09:57:27 |
Closed_By | ⇒ | brianteeman |
Closed as we have a PR for testing #11411
Which code should I attach?