Dynamic Query Type Dropdown

Hi Experts,

My usecase is: 

if I click on Part in TOC then on search toolbar I want to load "Query Type" dropdown with 3 values(Current, Released and Latest), I do't want to show Effective option. But I want all these four attributes if I select "Project Record" from TOC.

Is it possible to do this?

Thanks in advance!