Skip to content

INS-1515#47

Open
JoonLeeNIH wants to merge 2 commits into3.3.0from
INS-1515
Open

INS-1515#47
JoonLeeNIH wants to merge 2 commits into3.3.0from
INS-1515

Conversation

@JoonLeeNIH
Copy link

Overview

Fixes search highlighting

Change Details (Specifics)

Dataset search now uses an HTML-stripped version of Dataset.description

Related Ticket(s)

https://tracker.nci.nih.gov/browse/INS-1515

@JoonLeeNIH JoonLeeNIH requested review from Copilot and huuaho February 12, 2026 17:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dataset search to use an HTML-stripped description field to improve highlighting behavior.

Changes:

  • Replaces description.search with description_anchorless.search in dataset search fields
  • Introduces DATASET_SEARCH_RETURN_FIELDS to return description_anchorless instead of description for search
  • Updates dataset search service to use the new search-specific return field list

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Utils/datasetFields.js Switches search to description_anchorless and adds a search-specific return-field list
Services/dataset.service.js Uses DATASET_SEARCH_RETURN_FIELDS when generating the dataset search query

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JoonLeeNIH JoonLeeNIH temporarily deployed to ccdi-manager-nonprod February 12, 2026 17:26 — with GitHub Actions Inactive
@JoonLeeNIH JoonLeeNIH deployed to ccdi-manager-nonprod February 12, 2026 22:08 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant