Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Improve search with tags research

Smaug673985bda9b861de
diff --git a/frontend/components/Sidebar/Search.vue b/frontend/components/Sidebar/Search.vue
index 6e73122a..700c5753 100644
--- a/frontend/components/Sidebar/Search.vue
+++ b/frontend/components/Sidebar/Search.vue
@@ -16,7 +16,7 @@
</template>
<script setup lang="ts">
-const documents = computed(() => useDocumentsStore().getAll.filter(c => c.name.toLowerCase().includes(filter.value.toLowerCase())));
+const documents = computed(() => useDocumentsStore().getAll.filter(c => c.name.toLowerCase().includes(filter.value.toLowerCase()) || c.tags?.toLowerCase().includes(filter.value.toLowerCase())));
const filter = ref<string>('');
const showSearchModal = ref<boolean>(false);