Closed Bramjetten closed 1 year ago
Because of the addition of custom URLs in NavigationItems, scopes on NavigationItem should use left_outer_joins(:page) instead of joins(:page).
left_outer_joins(:page)
joins(:page)
Also, it doesn't make sense to use the regular_pages scope in the MenuPresenter.
regular_pages
@aseroff Can you check if this fixes your issue?
Hole in one again!
Because of the addition of custom URLs in NavigationItems, scopes on NavigationItem should use
left_outer_joins(:page)
instead ofjoins(:page)
.Also, it doesn't make sense to use the
regular_pages
scope in the MenuPresenter.