Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ZakirG
Copy link
Contributor

@ZakirG ZakirG commented Sep 18, 2020

This PR adds a config gear symbol on checkbox filters that let you specify the filter combine mode: AND or OR.

Screen Shot 2020-09-29 at 5 23 45 PM

Jira Ticket: https://ctds-planx.atlassian.net/browse/PXP-6542

Partner PR in gen3-ui-component: uc-cdis/gen3-ui-component#77

New Features

  • New filter option for array fields: __combineMode, which can be "AND" or "OR". This specifies the combinator used in Guppy GraphQL queries when multiple checkboxes are checked. The gear icon that shows this toggle is only shown on array field filters.

@lgtm-com
Copy link

lgtm-com bot commented Nov 20, 2020

This pull request introduces 1 alert when merging 55df07f into eae5c93 - view on LGTM.com

new alerts:

  • 1 for Ignoring result from pure array method

@lgtm-com
Copy link

lgtm-com bot commented Nov 23, 2020

This pull request introduces 1 alert when merging 4fd0003 into eae5c93 - view on LGTM.com

new alerts:

  • 1 for Ignoring result from pure array method

@lgtm-com
Copy link

lgtm-com bot commented Nov 23, 2020

This pull request introduces 1 alert when merging 51b55ab into eae5c93 - view on LGTM.com

new alerts:

  • 1 for Ignoring result from pure array method

@em-ingram em-ingram self-requested a review November 24, 2020 18:43
Copy link
Contributor

@em-ingram em-ingram left a comment

Choose a reason for hiding this comment

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

LGTM, 2 minor comments

import flat from 'flat';
import { queryGuppyForRawDataAndTotalCounts } from '../Utils/queries';
// import esInstance from '../../server/es/index';
// import config from '../../server/config';
Copy link
Contributor

Choose a reason for hiding this comment

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

Can these be deleted?

@em-ingram em-ingram self-requested a review December 1, 2020 15:51
@ZakirG ZakirG merged commit d0da0ee into master Dec 2, 2020
@mfshao mfshao deleted the feat/and-or-filter-toggle branch February 19, 2021 15:10
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.

4 participants