Skip to content

Controller (app/controllers/admin/deduplicate_patients_controller.rb):#5789

Open
sshinde-rtsl wants to merge 1 commit intomasterfrom
SIMPLEBACK-97
Open

Controller (app/controllers/admin/deduplicate_patients_controller.rb):#5789
sshinde-rtsl wants to merge 1 commit intomasterfrom
SIMPLEBACK-97

Conversation

@sshinde-rtsl
Copy link
Contributor

  • Added filter_enabled? method that checks Flipper.enabled?(:patient_deduplication_filter, current_admin)
  • before_action :set_filter_options now only runs if filter is enabled
  • Filter logic in show action is conditional on feature flag

Story card: SIMPLEBACK-97

Because

Enter the reason for raising this PR...

This addresses

Enter the details of what all this covers...

Test instructions

Enter detailed instructions for how to test this PR...

 - Added filter_enabled? method that checks Flipper.enabled?(:patient_deduplication_filter, current_admin)
 - before_action :set_filter_options now only runs if filter is enabled
 - Filter logic in show action is conditional on feature flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant