Skip to content

Commit

Permalink
use known_since instead of last_announcement for date created filter
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Dec 17, 2024
1 parent 89a9b4c commit d44212d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persist/sqlite/hosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (st *Store) QueryHosts(params explorer.HostQuery, sortBy explorer.HostSortC
var sortColumn string
switch sortBy {
case explorer.HostSortDateCreated:
sortColumn = "last_announcement"
sortColumn = "known_since"
case explorer.HostSortNetAddress:
sortColumn = "net_address"
case explorer.HostSortPublicKey:
Expand Down

0 comments on commit d44212d

Please sign in to comment.