@ -30,7 +30,7 @@ def get_item_by_description(db: Session, needle: str, skip: int = 0, limit: int
result = (
db.query(models.Item)
.filter(
items_table.c.ts.op("@@")(func.websearch_to_tsquery('"russian"', needle))
items_table.c.geodata_search_ts.op("@@")(func.websearch_to_tsquery('"russian"', needle))
)
.order_by(items_table.c.id)
.offset(skip)