primarycare-binder 1.1.102 → 1.1.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9721,7 +9721,8 @@ var GET_FACILITY_BY_USERID = createAsyncThunk("authSlice/getFacilityByUserid", /
|
|
|
9721
9721
|
queries = {
|
|
9722
9722
|
"db_name": dbName,
|
|
9723
9723
|
"entity": "Person",
|
|
9724
|
-
"filter":
|
|
9724
|
+
// "filter": `document(document(Person.telecom)[*].system)[*].code == to_Array('email') && document(Person.telecom)[*].value==to_array('${username}') && Person.activestatus==true`,
|
|
9725
|
+
"filter": "(document(document(Person.telecom)[*].system)[*].code == to_Array('email') || document(Person.telecom)[*].system any =='Email') && document(Person.telecom)[*].value any =='".concat(username, "' && Person.activestatus==true"),
|
|
9725
9726
|
"return_fields": "keep(Person,'_id','_key','OrgID','Id')"
|
|
9726
9727
|
};
|
|
9727
9728
|
_context17.next = 7;
|