From 44cbd22b6efdfaa292246ea6a191cd84208681f1 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 8 Apr 2020 17:52:09 -0400 Subject: [PATCH] always pass through the state of the 'active' field on the search form Signed-off-by: Galen Charlton --- .../src/app/staff/acq/provider/acq-provider-search-form.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.ts index 38e5a944be..9f0b52270d 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.ts @@ -103,9 +103,7 @@ export class AcqProviderSearchFormComponent implements OnInit, AfterViewInit { if (this.providerURL) { searchTerms.push({ classes: ['acqpro'], fields: ['url'], op: 'ilike', value: this.providerURL }); } - if (this.providerIsActive) { - searchTerms.push({ classes: ['acqpro'], fields: ['active'], op: '=', value: (this.providerIsActive ? 't' : 'f') }); - } + searchTerms.push({ classes: ['acqpro'], fields: ['active'], op: '=', value: (this.providerIsActive ? 't' : 'f') }); // tossing setTimeout here to ensure that the // grid data source is fully initialized -- 2.11.0