Skip to content

Commit

Permalink
Improve top sites
Browse files Browse the repository at this point in the history
  • Loading branch information
rupinr committed Nov 6, 2024
1 parent 0f4b84f commit 4dfe8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func GetTopSites() []entity.Site {
var sites []entity.Site
db().Where(&entity.Site{
Active: true,
}).Limit(7).Find(&sites)
}).Limit(7).Order("RANDOM()").Find(&sites)
return sites
}

Expand Down

0 comments on commit 4dfe8bc

Please sign in to comment.