feat(sf-b4): GET /landing/stats — 5 KPI + paradox for landing page hero #331
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def _query_stats(db: Session) -> dict[str, Any] | None:
|
|||
row_price = db.execute(
|
||||
text(
|
||||
"SELECT"
|
||||
" COUNT(*) FILTER (WHERE price_per_m2 IS NOT NULL) * 100.0"
|
||||
" COUNT(*) FILTER (WHERE price_per_m2_rub IS NOT NULL) * 100.0"
|
||||
" / NULLIF(COUNT(*), 0)"
|
||||
" FROM objective_lots"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue