summaryrefslogtreecommitdiffstats
path: root/ui/src/execute
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2018-08-08 19:06:00 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2019-06-10 19:40:27 +0300
commit14d65838b7938a24e85a13396991f10730984573 (patch)
tree4a3452185464ea3fb0e82a57cd901da0086d2187 /ui/src/execute
parent93b36a99412f91344dc8767c7317386fcc9eaaaf (diff)
Fix proper viewing for multipart alternatives, html view and quoted printable soft breaks
Diffstat (limited to 'ui/src/execute')
-rw-r--r--ui/src/execute/actions.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/ui/src/execute/actions.rs b/ui/src/execute/actions.rs
index 105fa532..021473ae 100644
--- a/ui/src/execute/actions.rs
+++ b/ui/src/execute/actions.rs
@@ -45,18 +45,6 @@ pub enum SortField {
impl FromStr for SortField {
type Err = ();
fn from_str(s: &str) -> Result<Self, Self::Err> {
- eprintln!("sortfield from_str {}", s);
- match s.trim() {
- "subject" | "s" | "sub" | "sbj" | "subj" => {
- eprintln!("parsed: subject");
- }
- "date" | "d" => {
- eprintln!("parsed date");
- }
- _ => {
- eprintln!("error in parse");
- }
- }
match s.trim() {
"subject" | "s" | "sub" | "sbj" | "subj" => Ok(SortField::Subject),
"date" | "d" => Ok(SortField::Date),
@@ -68,7 +56,6 @@ impl FromStr for SortField {
impl FromStr for SortOrder {
type Err = ();
fn from_str(s: &str) -> Result<Self, Self::Err> {
- eprintln!("sortoder from_str {}", s);
match s.trim() {
"asc" => Ok(SortOrder::Asc),
"desc" => Ok(SortOrder::Desc),