aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 2240e8f..977cb6c 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -280,6 +280,9 @@ impl App {
self.bibiman.entry_table.sort_entry_table(true);
}
}
+ CmdAction::SortById => {
+ self.bibiman.entry_table.sort_by_id();
+ }
CmdAction::YankItem => {
if let CurrentArea::EntryArea = self.bibiman.current_area {
let citekey: &str = &self.bibiman.entry_table.entry_table_items[self