mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-08-12 08:20:35 -04:00
sort reverse
This commit is contained in:
parent
f13596e6ac
commit
5ef0ac77da
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ func (s *Server) handleAttribute(c iris.Context) {
|
||||||
// Get all services that have this attribute
|
// Get all services that have this attribute
|
||||||
services, err := database.Pb.GetServices(
|
services, err := database.Pb.GetServices(
|
||||||
fmt.Sprintf("(attributes~'%v')", attributeId),
|
fmt.Sprintf("(attributes~'%v')", attributeId),
|
||||||
"score",
|
"-score",
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Err(err).Msgf("Could not get services with attribute %v from database", attributeId)
|
log.Error().Err(err).Msgf("Could not get services with attribute %v from database", attributeId)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue