Skip to content

Commit 679aa2e

Browse files
#3160 update search faq and show survey on result page only when page render reusults or no results found
1 parent 2f78976 commit 679aa2e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/assets/data/faqs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
"questionText": "How do I search the CVE List",
273273
"questionResponseParagraphs": [
274274
"<b><i>Search Tips<i></b>",
275-
"<ul><li>By CVE ID<ul><li>Must include only one CVE ID per search.</li><li>CVE ID must include all letters, numbers, and hyphens associated with the CVE ID, e.g., CVE-2024-12345678.</li><li>“CVE” may be entered as “cve”, “CVE”, or as a combination of uppercase and lowercase, as casing is ignored during search.</li></ul></li><li>By other keyword(s)<ul><li>Must contain only alphanumeric characters.</li><li>May contain one or more keywords, separated by a space.</li><li>Keywords may be entered in lowercase, uppercase, or a combination of both. Casing is ignored during search, e.g., Vulnerabilities, vulnerabilities, VULNERABILITIES.</li></ul></li></ul>"
275+
"<ul><li>By CVE ID<ul><li>Must include only one CVE ID per search.</li><li>CVE ID must include all letters, numbers, and hyphens associated with the CVE ID, e.g., CVE-2024-12345678.</li><li>“CVE” may be entered as “cve”, “CVE”, or as a combination of uppercase and lowercase, as casing is ignored during search.</li></ul></li><li>By other keyword(s)<ul><li>Must contain only alphanumeric characters, e.g., letters or numbers.</li><li>May contain one or more keywords, separated by a space.</li><li>Keywords may be entered in lowercase, uppercase, or a combination of both. Casing is ignored during search, e.g., Vulnerabilities, vulnerabilities, VULNERABILITIES.</li></ul></li></ul>"
276276
]
277277
},
278278
{

src/views/CVERecord/SearchResults.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<!-- cveListSearchStore.totalSearchResultCount < 1 so when there are results this doesn't flash while user is typing keyword -->
99
<p class="has-text-centered">
1010
Please use the help text below the search box above to fix your keyword(s).
11-
</p></div>
11+
</p>
12+
</div>
1213
<div v-else>
1314
<div v-if="cveListSearchStore.isSearching"
1415
class="cve-loading-message has-text-centered"
@@ -234,11 +235,11 @@
234235
<router-link to="/ResourcesSupport/FAQs#pc_cve_list_basicssearch_cve">search tips</router-link>.
235236
</p>
236237
</div>
238+
<SurveyLinkComponent/>
237239
</div>
238240
</div>
239241
</div>
240242
</div>
241-
<SurveyLinkComponent/>
242243
</main>
243244
</div>
244245
</div>

0 commit comments

Comments
 (0)