fix: fix bug in sub and bookmark search (#5163)
* add fav to subscription * add fav to search sub
This commit is contained in:
parent
fba1419f90
commit
323143a45b
|
@ -66,7 +66,8 @@ export const localSearchSubscription = async ({
|
||||||
lastMessage: item.lastMessage,
|
lastMessage: item.lastMessage,
|
||||||
status: item.status,
|
status: item.status,
|
||||||
teamMain: item.teamMain,
|
teamMain: item.teamMain,
|
||||||
prid: item.prid
|
prid: item.prid,
|
||||||
|
f: item.f
|
||||||
})) as ISearchLocal[];
|
})) as ISearchLocal[];
|
||||||
|
|
||||||
return search;
|
return search;
|
||||||
|
|
|
@ -524,7 +524,7 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
|
||||||
observable = await db
|
observable = await db
|
||||||
.get('subscriptions')
|
.get('subscriptions')
|
||||||
.query(...defaultWhereClause)
|
.query(...defaultWhereClause)
|
||||||
.observeWithColumns(['alert', 'on_hold']);
|
.observeWithColumns(['alert', 'on_hold', 'f']);
|
||||||
// When we're NOT grouping
|
// When we're NOT grouping
|
||||||
} else {
|
} else {
|
||||||
this.count += QUERY_SIZE;
|
this.count += QUERY_SIZE;
|
||||||
|
|
Loading…
Reference in New Issue