diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index 4fd1bc371..2f5c7b6ec 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -254,6 +254,7 @@
"fields": {
"path": "Path",
"size": "Size",
+ "libraryName": "Library",
"updatedAt": "Disappeared on"
},
"actions": {
diff --git a/ui/src/missing/MissingFilesList.jsx b/ui/src/missing/MissingFilesList.jsx
index 74711eed0..87d9f629f 100644
--- a/ui/src/missing/MissingFilesList.jsx
+++ b/ui/src/missing/MissingFilesList.jsx
@@ -5,10 +5,15 @@ import {
TextField,
downloadCSV,
Pagination,
+ Filter,
+ ReferenceInput,
+ useTranslate,
+ SelectInput,
} from 'react-admin'
import jsonExport from 'jsonexport/dist'
import DeleteMissingFilesButton from './DeleteMissingFilesButton.jsx'
import MissingListActions from './MissingListActions.jsx'
+import React from 'react'
const exporter = (files) => {
const filesToExport = files.map((file) => {
@@ -20,6 +25,24 @@ const exporter = (files) => {
})
}
+const MissingFilesFilter = (props) => {
+ const translate = useTranslate()
+ return (
+
+ ({ name: [searchText] })}
+ alwaysOn
+ >
+
+
+
+ )
+}
+
const BulkActionButtons = (props) => (
<>
@@ -38,11 +61,13 @@ const MissingFilesList = (props) => {
sort={{ field: 'updated_at', order: 'DESC' }}
exporter={exporter}
actions={}
+ filters={}
bulkActionButtons={}
perPage={50}
pagination={}
>
+