feat(qutedmenu): sort history results by last access time
This commit is contained in:
parent
9e99d6df34
commit
ada069b3e3
|
|
@ -23,7 +23,7 @@ create_menu() {
|
|||
done < "$QUTE_CONFIG_DIR"/bookmarks/urls
|
||||
|
||||
# Finally history
|
||||
printf -- '%s\n' "$(sqlite3 -separator ' ' "$QUTE_DATA_DIR/history.sqlite" 'select title, url from CompletionHistory')"
|
||||
printf -- '%s\n' "$(sqlite3 -separator ' ' "$QUTE_DATA_DIR/history.sqlite" 'select title, url from CompletionHistory ORDER BY last_atime DESC')"
|
||||
}
|
||||
|
||||
get_selection() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue