Q query param in DrugSearchHandler

Why is the need to explicitly specify q as an query pram in DrugSearchHandler1_10, but not in any other search handler.

q to my understanding is a generic search param that is added to any resource operation that has searching capability. The reason for raising my concern is that this causes duplicate q params being added to GET /drug.

So I just want to confirm that if it’s okay if I remove the q param from the DrugSearchHandler1_10?

@pascal @bholagabbar @teleivo

Your suggestion makes a lot of sense to me. So go ahead and remove it. Create a ticket and link to this talk thread. Remember to do some random testing to ensure all is as well as before. :smile:

1 Like