remove: + Annuncio
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Marco Pedone 2026-05-26 16:35:27 +02:00
parent 63a1bf2a8a
commit 4ebdf32495

View file

@ -720,9 +720,9 @@ export const getAnnunciAvailableToAdd = async (
let qry = tx
.$pickTables<"annunci">()
.selectFrom("annunci")
.select(["id", "codice", "titolo_it"])
.where("annunci.web", "=", true)
.where("stato", "!=", "Sospeso");
.select(["id", "codice", "titolo_it"]);
//.where("annunci.web", "=", true)
//.where("stato", "!=", "Sospeso");
if (ids.length > 0) {
qry = qry.where("id", "not in", ids);