Skip to content

Commit

Permalink
update mlParameters filter variable name (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblaisATcoveo authored Oct 7, 2024
1 parent 5ce8c50 commit 9fa2388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ function initEngine() {

// filter user sensitive content
requestContent.enableQuerySyntax = params.isAdvancedSearch;
requestContent.mlParameters = { "filters": { "searchpageurl": params.originLevel3 } };
requestContent.mlParameters = { "filters": { "c_context_searchpageurl": params.originLevel3 } };

if ( requestContent.analytics ) {
requestContent.analytics.originLevel3 = params.originLevel3;
Expand Down

0 comments on commit 9fa2388

Please sign in to comment.