From: Mike Rylander Date: Fri, 15 May 2020 15:19:52 +0000 (-0400) Subject: Fix thinko to allow Currency Type searching (30) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f521e3e1201a12dcfc2759f5a3249a0a9323d76b;p=working%2FEvergreen.git Fix thinko to allow Currency Type searching (30) Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.html b/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.html index 751f89dd50..c7fa30169d 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/provider/acq-provider-search-form.component.html @@ -29,7 +29,7 @@
- +
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 9f0b52270d..5a255f891b 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 @@ -92,7 +92,7 @@ export class AcqProviderSearchFormComponent implements OnInit, AfterViewInit { }); } if (this.providerCurrencyType) { - searchTerms.push({ classes: ['acqpro'], fields: ['currency_type'], op: 'ilike', value: this.providerCurrencyType }); + searchTerms.push({ classes: ['acqpro'], fields: ['currency_type'], op: '=', value: this.providerCurrencyType }); } if (this.providerSAN) { searchTerms.push({ classes: ['acqpro'], fields: ['san'], op: 'ilike', value: this.providerSAN }); diff --git a/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-record.service.ts b/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-record.service.ts index be2b5e628b..792e31f6d9 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-record.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-record.service.ts @@ -42,7 +42,7 @@ export class ProviderRecordService { flesh_fields: { acqpro: [ 'attributes', 'holdings_subfields', 'contacts', 'addresses', 'provider_notes', - 'edi_accounts', + 'edi_accounts', 'currency_type' ], acqpa: ['provider'], acqpc: ['provider','addresses'],