This commit is contained in:
parent
63a1bf2a8a
commit
4ebdf32495
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue