mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-05 09:10:53 +01:00
index organizationid for search
This commit is contained in:
parent
a98a8bda9b
commit
2c4005d4c7
@ -62,6 +62,7 @@ export class SearchService implements SearchServiceAbstraction {
|
||||
(builder as any).field('attachments', { extractor: (c: CipherView) => this.attachmentExtractor(c, false) });
|
||||
(builder as any).field('attachments_joined',
|
||||
{ extractor: (c: CipherView) => this.attachmentExtractor(c, true) });
|
||||
(builder as any).field('organizationid', { extractor: (c: CipherView) => c.organizationId });
|
||||
const ciphers = await this.cipherService.getAllDecrypted();
|
||||
ciphers.forEach((c) => builder.add(c));
|
||||
this.index = builder.build();
|
||||
|
Loading…
Reference in New Issue
Block a user