Details
-
New Feature
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
Description
Maybe this is actually adding support for faceting on "fields in objects in arrays". What I'm trying to do is see how many times a particular address type has been used in a /users query. User objects are shaped as follows:
{ "username" : "hope", "id" : "993a9994-1b39-4d3c-891e-e9b5f988e0df", "barcode" : "518537514874843", "active" : true, "type" : "patron", "patronGroup" : "2a4b34b1-3acf-47ab-b08e-531c335ca190", "proxyFor" : [ ], "personal" : { "lastName" : "Kuhn", "firstName" : "Delilah", "middleName" : "Ole", "email" : "camila@toy-white.ne", "phone" : "1-048-643-8423", "mobilePhone" : "510-941-9609", "dateOfBirth" : "1974-11-18T00:00:00.000+0000", "addresses" : [ { "countryId" : "US", "addressLine1" : "69617 Haleigh Haven #349", "city" : "San Marino", "region" : "AP", "postalCode" : "51110", "addressTypeId" : "a5dd6e79-85c3-4b50-bca6-604502833fda", "primaryAddress" : true } ], "preferredContactTypeId" : "001" }, "enrollmentDate" : "1978-12-14T00:00:00.000+0000", "expirationDate" : "1973-07-21T00:00:00.000+0000", "createdDate" : "2018-03-16T03:40:03.311+0000", "updatedDate" : "2018-03-16T03:40:03.311+0000", "metadata" : { "createdDate" : "2018-03-16T03:40:03.306+0000", "createdByUserId" : "1ad737b0-d847-11e6-bf26-cec0c932ce01", "updatedDate" : "2018-03-16T03:40:03.306+0000", "updatedByUserId" : "1ad737b0-d847-11e6-bf26-cec0c932ce01" } }
The fields I want to facet on are personal.addresses[].addressTypeId. This doesn't work atm because addresses is an array.
TestRail: Results
Attachments
Issue Links
- blocks
-
STCOM-228 Make ControlledVocab Component Behave Like Patron Group CRUD
-
- Closed
-