Sachin Duggal : How can I remove additionalParameters during the extraSearch phase?

Hi Team,

I’m Sachin Duggal , and I am the owner of a bags manufacturing business. I’m encountering an issue with extra search functionality and wanted to see if anyone has run into something similar. Currently, I have a setup where hook_pre_process.groovy applies additionalParameters based on query parameters for a collection. These parameters are inherited during the pre-process phase.

However, in the extra_searches phase, I’m trying to remove these inherited additionalParameters, specifically ge_eventDate, using the following code:

transaction.extraSearchesQuestions[“past”].additionalParameters.remove(‘ge_eventDate’)

Unfortunately, it’s not working as expected — the ge_eventDate parameter still persists. We are using version 15.20.0.

Has anyone experienced this issue or found a solution to successfully remove these additional parameters during the extra_searches phase? Any suggestions or workarounds would be greatly appreciated!

Thanks in advance!
Regards
Sachin Duggal