Skip to content

Commit

Permalink
geo coveo search issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rajneeshkumar committed Jan 20, 2025
1 parent 234845b commit 8e1ea43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/resources/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export async function coveoResources(target) {
const subCategory = encodeURIComponent(getMetadata('sub-category').trim());
let searchTitle = encodeURIComponent(getMetadata('search-title').trim());
if (!searchTitle) {
searchTitle = document.querySelector('main h1').textContent;
searchTitle = encodeURIComponent(getMetadata('title').trim());
}
let params;
if (!subCategory) {
Expand Down

0 comments on commit 8e1ea43

Please sign in to comment.