Skip to content

A self-hosted media server and file management system

fix: album and artist are not included in video search filtering

aminnausincca680cd070f
diff --git a/resources/js/stores/ContentStore.ts b/resources/js/stores/ContentStore.ts
index d4ed99b3..273d0253 100644
--- a/resources/js/stores/ContentStore.ts
+++ b/resources/js/stores/ContentStore.ts
@@ -52,6 +52,8 @@ export const useContentStore = defineStore('Content', () => {
toFormattedDuration(video.duration) ?? 'N/A',
video.video_tags?.map((tag) => tag?.name).join(' ') ?? '',
video.file_size ? formatFileSize(video.file_size) : '',
+ video.album ?? '',
+ video.artist ?? '',
];
return strRepresentation.join(' ').toLowerCase().includes(searchTerm);
} catch (error) {