remove percent from popularity

This commit is contained in:
nycex 2020-06-07 14:29:47 +02:00 committed by J Guerreiro
parent f9fb40a27a
commit 321834de4c

View file

@ -85,7 +85,7 @@ func (q aurQuery) printSearch(start int) {
toprint += bold(colorHash("aur")) + "/" + bold(q[i].Name) +
" " + cyan(q[i].Version) +
bold(" (+"+strconv.Itoa(q[i].NumVotes)) +
" " + bold(strconv.FormatFloat(q[i].Popularity, 'f', 2, 64)+"%) ")
" " + bold(strconv.FormatFloat(q[i].Popularity, 'f', 2, 64)+") ")
if q[i].Maintainer == "" {
toprint += bold(red(gotext.Get("(Orphaned)"))) + " "