Not able to get Query Parameter to work to show related tasks to a project

Not able to get Query Parameter to work to show related tasks to a project

I have an app that have Projects and Tasks. I created a page that shows related project information that you get to by a function that goes to the page with the RecID as projectRecId. I created a panel that shows the number of tasks and for the action, I want it to go to a report for Tasks that are related to the project. In the Add Task form, there is a Project lookup field and it pulls the Project Name.  I created a Query Parameter for the pane action as Project=${projectRecId}. It pulls up all the tasks and not just the related tasks.  I am able to get it to work if I add the ID field in the Display fields in the Add Task form in the Project lookup field but I don't want it to work like that. I want to be able to see the Project Name when I am creating a task and not the ID of the project or the Project Name along with the ID.  Any help would be very much appreciated.

Thank you