VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Roderic on November 25, 2022, 17:15:10 PM

Title: Category module problem [rev. 10748)
Post by: Roderic on November 25, 2022, 17:15:10 PM
I've updated several websites and all seems to work well. However I noticed one issue with the category module.

I load several of these modules in the Main menu so it lists the subcategory from the selected parent category.
After updating, it lists ALL categories in every module.

http://dev.virtuemart.net/projects/virtuemart/repository/revisions/10742/diff/trunk/virtuemart/modules/mod_virtuemart_category/helper.php?utf8=%E2%9C%93&type=sbs

When I comment out line 41 and uncomment line 40, it works again as expected. So I assume something is missing in line 41 that makes the module obey the selected parent category?
Title: Re: Category module problem [rev. 10748)
Post by: Roderic on November 30, 2022, 11:18:19 AM
Revision 10752 seems to fix it. Thanks.


http://dev.virtuemart.net/projects/virtuemart/repository/revisions/10752
Title: Re: Category module problem [rev. 10748)
Post by: Milbo on December 02, 2022, 20:58:38 PM
Thank you for using the svn directly. Yes I wanted to release today but we found some more php8.2 stuff.
Title: Re: Category module problem [rev. 10748)
Post by: Darko F. on December 04, 2022, 22:04:16 PM
Hi
I try both solutions  by: Roderic and by: Milbo
And modules still didn't show correct categories,

VirtueMart 4.0.8 10748
Joomla! 3.10.2
php 7,4
Title: Re: Category module problem [rev. 10748)
Post by: Milbo on December 05, 2022, 19:09:53 PM
You have my skype, I can send you the fixed module.