web: debug search for tag:letterbox instead of is:unread
This commit is contained in:
@@ -14,7 +14,7 @@ use crate::{
|
||||
api::urls,
|
||||
consts::SEARCH_RESULTS_PER_PAGE,
|
||||
graphql::{front_page_query::*, show_thread_query::*},
|
||||
state::{Model, Msg, RefreshingState},
|
||||
state::{unread_query, Model, Msg, RefreshingState},
|
||||
};
|
||||
|
||||
mod desktop;
|
||||
@@ -490,10 +490,10 @@ fn render_open_header(msg: &ShowThreadQueryThreadMessages) -> Node<Msg> {
|
||||
])
|
||||
]
|
||||
]),
|
||||
tr![
|
||||
td!["Date"],
|
||||
td![msg.timestamp.map(|ts| span![C!["header"], human_age(ts)])]
|
||||
]
|
||||
tr![td![
|
||||
attrs! {At::ColSpan=>2},
|
||||
msg.timestamp.map(|ts| span![C!["header"], human_age(ts)])
|
||||
]]
|
||||
],
|
||||
],
|
||||
],
|
||||
@@ -761,7 +761,7 @@ fn view_header(query: &str, refresh_request: &RefreshingState) -> Node<Msg> {
|
||||
a![
|
||||
C!["navbar-item", "button"],
|
||||
attrs! {
|
||||
At::Href => urls::search("is:unread", 0)
|
||||
At::Href => urls::search(unread_query(), 0)
|
||||
},
|
||||
"Unread",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user