mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-02-11 12:58:29 -05:00
attribute page: show only listed services
This commit is contained in:
parent
7994519e06
commit
1998a4e812
@ -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…
x
Reference in New Issue
Block a user