Classifieds Unnecessary queries caused by missing relations

Affected version
1.2.0

Forumhelden

New Member
When viewing the overview page, macro z61_classifieds_listing_list_macros::listing is accessing relations Featured and CoverImage (via templater function z61_classifieds_listing_thumbnail).

This causes 2N unnecessary queries as those relations are not initially being loaded.

Adding those relations to Z61\Classifieds\Finder::forFullView seems to fix this.
 
Top