mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-08-22 04:39:27 -04:00
attribute page: show only listed services
This commit is contained in:
parent
7994519e06
commit
1998a4e812
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,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),
|
||||
fmt.Sprintf("(attributes~'%v') && (listed=true)", attributeId),
|
||||
"-score",
|
||||
)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue