diff --git a/green-river/src/main/scala/consumer/elastic/mappings/admin/GiftCardTransactionsSearchView.scala b/green-river/src/main/scala/consumer/elastic/mappings/admin/GiftCardTransactionsSearchView.scala index 421bf53584..6d529d8f79 100644 --- a/green-river/src/main/scala/consumer/elastic/mappings/admin/GiftCardTransactionsSearchView.scala +++ b/green-river/src/main/scala/consumer/elastic/mappings/admin/GiftCardTransactionsSearchView.scala @@ -22,7 +22,7 @@ final case class GiftCardTransactionsSearchView()(implicit ec: EC) extends AvroT field("giftCardCreatedAt", DateType).format(dateFormat), // Order Payment field("orderPayment").nested( - field("orderReferenceNumber", StringType).analyzer("upper_cased"), + field("cordReferenceNumber", StringType).analyzer("upper_cased"), field("orderCreatedAt", DateType).format(dateFormat), field("orderPaymentCreatedAt", DateType).format(dateFormat) ), diff --git a/green-river/src/main/scala/consumer/elastic/mappings/admin/StoreCreditTransactionsSearchView.scala b/green-river/src/main/scala/consumer/elastic/mappings/admin/StoreCreditTransactionsSearchView.scala index 117572ef52..0b47d060dc 100644 --- a/green-river/src/main/scala/consumer/elastic/mappings/admin/StoreCreditTransactionsSearchView.scala +++ b/green-river/src/main/scala/consumer/elastic/mappings/admin/StoreCreditTransactionsSearchView.scala @@ -22,7 +22,7 @@ final case class StoreCreditTransactionsSearchView()(implicit ec: EC) extends Av field("storeCreditCreatedAt", DateType).format(dateFormat), // Order Payment field("orderPayment").nested( - field("orderReferenceNumber", StringType).analyzer("upper_cased"), + field("cordReferenceNumber", StringType).analyzer("upper_cased"), field("orderCreatedAt", DateType).format(dateFormat), field("orderPaymentCreatedAt", DateType).format(dateFormat) ),