From: Galen Charlton Date: Wed, 8 Apr 2020 21:52:09 +0000 (-0400) Subject: always pass through the state of the 'active' field on the search form X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=44cbd22b6efdfaa292246ea6a191cd84208681f1;p=working%2FEvergreen.git always pass through the state of the 'active' field on the search form Signed-off-by: Galen Charlton --- 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