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

fix: always include MinimumFieldsToInclude #1982

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

y-lakhdar
Copy link
Contributor

https://coveord.atlassian.net/browse/JSUI-3525

FieldsToInclude property will always include minimal amount of fields, regardless of the options data-fields-to-include and data-auto-select-fields-to-include.

@y-lakhdar y-lakhdar requested a review from a team as a code owner June 27, 2024 18:11
@y-lakhdar y-lakhdar requested review from olamothe, fbeaudoincoveo and alexprudhomme and removed request for a team June 27, 2024 18:11
Copy link

@alexprudhomme alexprudhomme left a comment

Choose a reason for hiding this comment

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

lgtm learned about https://underscorejs.org/

@@ -569,6 +569,17 @@ export function ResultListTest() {
);
});

it('should also get the minimal amount of fields to include when the option is false', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Could add one test to verify that duplicate are removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants