Course discovery customization

Hi everyone,

I am trying to modify course-discovery on my forked repo. I wanted to add some filter logics for Discover New page “http://local.edly.io/courses” but I seem can’t get it to work.

I checked and saw that it’s pointing to my local docker image that I added the code to.
Screenshot 2025-07-02 at 1.01.21 in the morning

Let’s say I want to hide all courses that are created for AAA organization if the users are not logged in, and only show them to logged in users with specific email.

Could anyone please guild me if I’m working on the right place or what I might be missing. So far whatever changes I made, there is no effects to Discover New page.

Very much appreciated.
Thanks.