Skip to content

Mod articles category fix#1529

Merged
erichhuebner merged 4 commits intohubzero:devfrom
jesseerdmann:mod_article_category_fix
Aug 26, 2021
Merged

Mod articles category fix#1529
erichhuebner merged 4 commits intohubzero:devfrom
jesseerdmann:mod_article_category_fix

Conversation

@jesseerdmann
Copy link

The helper.php file for mod_articles_category was out of date
compared to the current usage of core library classes. In some
cases it was applying unset filter attributes in a way that
ensured no content entries would match the query.
In other cases it was assuming attributes of the returned items
describing the category it belonged to were present but they no
longer are. The instigation of this fix were a couple of errors
related to the renaming of the old published column to state
and the use of the Query class with a mismatched set of
parameters to the whereRaw method. This commit should solve all
of those issues.

root and others added 4 commits August 17, 2021 14:30
The com_publications admin used a relative require that failed to
load com_plugins if com_publications was copied to app for local
changes but com_plugins was not. This change uses the
Component::path method to get the correct location of com_plugins
The helpers.php file for mod_articles_category was out of date
compared to the current usage of core library classes. In some
cases it was applying unset filter attributes in a way that
ensured no content entries would match the query.
In other cases it was assuming attributes of the returned items
describing the category it belonged to were present but they no
longer are. The instigation of this fix were a couple of errors
related to the renaming of the old published column to state
and the use of the Query class with a mismatched set of
parameters to the whereRaw method. This commit should solve all
of those issues.
@erichhuebner erichhuebner merged commit dfa7fe6 into hubzero:dev Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments