From f8443fb817b7bcc3d367a9671a0f6a53e0f050ce Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Sun, 5 May 2024 16:27:09 +0300 Subject: [PATCH] Added simple history browser with search ability for the WebUI. --- frontend/pages/history/[id]/index.vue | 46 +++++ frontend/pages/history/index.vue | 286 +++++++++++++++++++++++++- src/API/History/Index.php | 13 ++ 3 files changed, 344 insertions(+), 1 deletion(-) create mode 100644 frontend/pages/history/[id]/index.vue diff --git a/frontend/pages/history/[id]/index.vue b/frontend/pages/history/[id]/index.vue new file mode 100644 index 00000000..2b746c3e --- /dev/null +++ b/frontend/pages/history/[id]/index.vue @@ -0,0 +1,46 @@ + + + diff --git a/frontend/pages/history/index.vue b/frontend/pages/history/index.vue index 1d24c167..3964acff 100644 --- a/frontend/pages/history/index.vue +++ b/frontend/pages/history/index.vue @@ -1,5 +1,289 @@ + diff --git a/src/API/History/Index.php b/src/API/History/Index.php index 3e37f75c..10ac58c9 100644 --- a/src/API/History/Index.php +++ b/src/API/History/Index.php @@ -285,6 +285,19 @@ final class Index 'prev_url' => $prevUrl, 'last_url' => $lastUrl, ], + 'searchable' => [ + 'id', + 'via', + 'year', + 'type', + 'title', + 'season', + 'episode', + 'parent', + 'guid', + 'metadata', + 'extra', + ], ]; while ($row = $stmt->fetch()) {