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 @@ + + + + + History + : {{ id }} + + + + + + + + + + + + + + This page still not done, and will be updated at later stages. + + + + + {{ data }} + + + + + + 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 @@ - NYI + + + History + + + + + + + + + + + + + + + + + + + + + + + + + << + + + + + < + + + + + + + {{ item.text }} + + + + + + + > + + + + + >> + + + + + + + + + + + + Select Field + + {{ field }} + + + + + + + + + + + + + + + Searching using metadata or extra fields is not currently supported via + WebUI. + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.full_title ?? item.title }} + + + + + + + + + + + {{ moment(item.updated).fromNow() }} + + + + {{ item.via }} + + + + + {{ item.event }} + + + + Played + Unplayed + + + + {{ item.progress }} + + + + + + + + + + + + Loading data please wait... + + + + + + + + No items found. + For {{ searchField }} : {{ query }} + + {{ error }} + + + + + 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()) {
+ + + + + +
{{ data }}
NYI
+ + Searching using metadata or extra fields is not currently supported via + WebUI. +
metadata
extra
+ + {{ item.full_title ?? item.title }} + +
{{ searchField }} : {{ query }}
{{ error }}