File tree 3 files changed +1
-25
lines changed
3 files changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -1687,9 +1687,6 @@ export class BaseDef {
1687
1687
if (primitive in this ) {
1688
1688
return value ;
1689
1689
}
1690
- if (value == null ) {
1691
- return value ;
1692
- }
1693
1690
throw new Error (` Cannot format query value for composite card/field ` );
1694
1691
}
1695
1692
Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ class CrmAppTemplate extends Component<typeof CrmApp> {
461
461
taskFilter = [{ eq: { ' priority.label' : ' High' } }];
462
462
break ;
463
463
case ' Unassigned' :
464
- taskFilter = [{ eq: { assignee: null } }];
464
+ taskFilter = [{ eq: { ' assignee.id ' : null } }];
465
465
break ;
466
466
default :
467
467
break ;
Original file line number Diff line number Diff line change @@ -1620,27 +1620,6 @@ export class Realm {
1620
1620
1621
1621
let cardsQuery = parseQuery ( new URL ( request . url ) . search . slice ( 1 ) ) ;
1622
1622
1623
- // cardsQuery = {
1624
- // filter: {
1625
- // on: {
1626
- // module: 'http://localhost:4201/experiments/crm/task',
1627
- // name: 'CRMTask',
1628
- // },
1629
- // every: [
1630
- // {
1631
- // eq: {
1632
- // 'crmApp.id':
1633
- // 'http://localhost:4201/experiments/CrmApp/4e73712d-2a31-4ffe-9c22-d3de277257a6',
1634
- // },
1635
- // },
1636
- // {
1637
- // eq: {
1638
- // assignee: null,
1639
- // },
1640
- // },
1641
- // ],
1642
- // },
1643
- // } as any;
1644
1623
assertQuery ( cardsQuery ) ;
1645
1624
1646
1625
let doc = await this . #realmIndexQueryEngine. search ( cardsQuery , {
You can’t perform that action at this time.
0 commit comments