Add report ID suggestion to status page

This commit is contained in:
Eli Ribble 2026-02-04 16:07:36 +00:00
parent 7032f8e26b
commit f3221ec315
No known key found for this signature in database
6 changed files with 317 additions and 27 deletions

View file

@ -0,0 +1,22 @@
-- PublicreportPublicIDSuggestion
SELECT
'nuisance' AS table_name,
public_id,
location
FROM
publicreport.nuisance
WHERE
public_id LIKE $1
UNION ALL
SELECT
'pool' AS table_name,
public_id,
location
FROM
publicreport.pool
WHERE
public_id LIKE $1
ORDER BY
public_id;