web/user: also search desc and publisher
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c5e7801247
commit
479e9750c7
|
@ -40,7 +40,7 @@ export class LibraryPage extends LitElement {
|
|||
new CoreApi(DEFAULT_CONFIG).coreApplicationsList({}).then((apps) => {
|
||||
this.apps = apps;
|
||||
this.fuse = new Fuse(apps.results, {
|
||||
keys: ["slug", "name"],
|
||||
keys: ["slug", "name", "metaDescription", "metaPublisher"],
|
||||
});
|
||||
if (!this.fuse || !this.query) return;
|
||||
const matchingApps = this.fuse.search(this.query);
|
||||
|
|
Reference in New Issue