From 917b9c522635a304ff7c70499f05903a694696a3 Mon Sep 17 00:00:00 2001 From: lukeflo Date: Thu, 17 Oct 2024 23:24:51 +0200 Subject: correct sorting function --- src/frontend/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontend/handler.rs') 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()); -- cgit v1.2.3