mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-03-12 12:36:28 -04:00
sort reverse
This commit is contained in:
parent
f13596e6ac
commit
5ef0ac77da
@ -152,7 +152,7 @@ func (s *Server) handleAttribute(c iris.Context) {
|
||||
// Get all services that have this attribute
|
||||
services, err := database.Pb.GetServices(
|
||||
fmt.Sprintf("(attributes~'%v')", attributeId),
|
||||
"score",
|
||||
"-score",
|
||||
)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msgf("Could not get services with attribute %v from database", attributeId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user