]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
added an entry about palmcsv format
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index 4d4150e1006e5c9883121494af99cf3784ca115f..023f20667b730f5a25dbae7f3640d71ccf013440 100644 (file)
--- a/ui.c
+++ b/ui.c
@@ -420,8 +420,9 @@ get_commands()
 
                        case 'o': ui_open_datafile();   break;
 
-                       case 's': sort_database();      break;
+                       case 's': sort_by_field(NAME);  break;
                        case 'S': sort_surname();       break;
+                       case 'F': sort_by_field(-1);    break;
 
                        case '/': ui_find(0);           break;
                        case '\\': ui_find(1);          break;