Skip to content

Commit c107f3a

Browse files
committed
"Missing" list - Does not distinguish MIA from Denied
1 parent 6629ca3 commit c107f3a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lib/TZXServer.pm

+9
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@ any '/search' => sub {
7676
}
7777
};
7878

79+
get '/missing' => sub {
80+
template 'results', {
81+
tapes => rset('Tape')
82+
->search({ uri => undef })
83+
->hri
84+
->all_ref,
85+
}
86+
};
87+
7988
get '/login' => sub {
8089
template 'login.tx';
8190
};

views/layouts/main.tx

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
<p>
2121
<a href="/">Home</a> |
22+
<a href="/missing">Missing</a> |
2223
<a href="https://github.com/jbarrett/TZXServer">Source</a>
2324
</p>
2425

0 commit comments

Comments
 (0)