Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new coveo end point #1436

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions blocks/coveo-search/coveo-search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { loadCSS } from '../../scripts/lib-franklin.js';
import { loadScript, getCookie } from '../../scripts/scripts.js';

const coveoAdminId = 'kapil.dhiman@moldev.com';
const coveoAdminId = 'rajneesh.kumar@moldev.com';
const organizationId = 'moleculardevicesproductionca45f5xc';
const coveoToken = 'xx46ddf302-8f31-4286-bab7-c06aec617186';

Expand Down Expand Up @@ -80,14 +80,14 @@ export function searchMainSection() {
return `
<div class="section coveo-tab-section-wrapper sticky-element sticky-desktop">
<div class="coveo-tab-section">
<a class="CoveoTab coveo-tab" data-id="All" data-caption="All Content" data-expression="@source==&quot;Molecular Devices Franklin&quot; OR @source==&quot;Molecular Devices Support Portal&quot;"></a>
<div class="CoveoTab coveo-tab" data-id="Resources" data-caption="Resources" data-expression="@source==&quot;Molecular Devices Franklin&quot; AND @md_pagetype==Resource AND NOT @md_contenttype==CoA AND NOT @md_contenttype==SDS AND NOT @md_contenttype==SDS">
<a class="CoveoTab coveo-tab" data-id="All" data-caption="All Content" data-expression="@source==&quot;For Gated Test&quot; OR @source==&quot;Molecular Devices Support Portal&quot;"></a>
<div class="CoveoTab coveo-tab" data-id="Resources" data-caption="Resources" data-expression="@source==&quot;For Gated Test&quot; AND @md_pagetype==Resource AND NOT @md_contenttype==CoA AND NOT @md_contenttype==SDS AND NOT @md_contenttype==SDS">
</div>
<div class="CoveoTab coveo-tab" data-id="Videos" data-caption="Videos" data-expression="@source==&quot;Molecular Devices Franklin&quot; AND @md_contenttype==&quot;Videos &amp; Webinars&quot;">
<div class="CoveoTab coveo-tab" data-id="Videos" data-caption="Videos" data-expression="@source==&quot;For Gated Test&quot; AND @md_contenttype==&quot;Videos &amp; Webinars&quot;">
</div>
<div class="CoveoTab coveo-tab" data-id="KBArticles" data-caption="Knowledge Base" data-expression="@source==&quot;Molecular Devices Support Portal&quot;"></div>
<div class="CoveoTab coveo-tab" data-id="CoA" data-caption="CoA" data-expression="@source==&quot;Molecular Devices Franklin&quot; AND @md_contenttype==CoA"></div>
<div class="CoveoTab coveo-tab" data-id="SDS" data-caption="SDS" data-expression="@source==&quot;Molecular Devices Franklin&quot; AND @md_contenttype==SDS"></div>
<div class="CoveoTab coveo-tab" data-id="CoA" data-caption="CoA" data-expression="@source==&quot;For Gated Test&quot; AND @md_contenttype==CoA"></div>
<div class="CoveoTab coveo-tab" data-id="SDS" data-caption="SDS" data-expression="@source==&quot;For Gated Test&quot; AND @md_contenttype==SDS"></div>
</div>
</div>
<div class="section coveo-main-section-wrapper">
Expand Down
Loading