diff options
| author | lukeflo | 2024-10-17 23:24:51 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-17 23:24:51 +0200 |
| commit | 917b9c522635a304ff7c70499f05903a694696a3 (patch) | |
| tree | 3cc12f06bed4f991e4fa926b8bc16de24a38ed1e /src/frontend/handler.rs | |
| parent | 8362f2a4272cf11e54c9384b19d5c878141bf76d (diff) | |
| download | bibiman-917b9c522635a304ff7c70499f05903a694696a3.tar.gz bibiman-917b9c522635a304ff7c70499f05903a694696a3.zip | |
correct sorting function
Diffstat (limited to 'src/frontend/handler.rs')
| -rw-r--r-- | src/frontend/handler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/handler.rs b/src/frontend/handler.rs index 70ba5c7..ec1647e 100644 --- a/src/frontend/handler.rs +++ b/src/frontend/handler.rs @@ -122,7 +122,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App, tui: &mut Tui) -> R app.select_last_entry(); } KeyCode::Char('s') => { - app.entry_table.sort_entry_table("author"); + app.entry_table.sort_entry_table("author", true); } KeyCode::Char('y') => { App::yank_text(&app.get_selected_citekey()); |
