Skip to Content
0
Nov 07, 2017 at 05:41 PM

Extracting q parameters from productcockpit's lastQuery

34 Views

Hello,

When extracting lastQuery from the productCockpit as shown below:

Query lastQuery = ((DefaultSearchBrowserModel) browser).getLastQuery();

I noticed that the specific "q" parameter (entered from the advanced search in the productcockpit) in the query is not mentionned when performing the get operation as show below:

lastQuery.getParameterOrValues() => it returns an empty list instead of the pk of the search parameter values of the searched category from the advanced search.

Anybody has experienced or has an idea of this behavior ?

Thanks in advance.

Amine.