fix(api): address search review feedback
ci / rust (pull_request) Successful in 1m45s
ci / web (pull_request) Successful in 55s

This commit is contained in:
Miguel Palhas
2026-08-22 21:15:39 +01:00
parent cab0d33964
commit f78735b087
2 changed files with 111 additions and 47 deletions
@@ -1,6 +1,6 @@
{
"db_name": "SQLite",
"query": "SELECT id AS \"id!: i64\", tmdb_id AS \"tmdb_id!: i64\", title AS \"title!: String\", year, original_language, root_id AS \"root_id!: i64\", wanted AS \"wanted!: bool\", overrides AS \"overrides!: serde_json::Value\", state AS \"state!: String\", blocked AS \"blocked!: bool\", search_attempts AS \"search_attempts!: i64\", last_searched_at FROM movies WHERE tmdb_id = ? ORDER BY id",
"query": "SELECT id AS \"id!: i64\", tmdb_id AS \"tmdb_id!: i64\", title AS \"title!: String\", year, original_language, root_id AS \"root_id!: i64\", wanted AS \"wanted!: bool\", overrides AS \"overrides!: serde_json::Value\", state AS \"state!: String\", blocked AS \"blocked!: bool\", search_attempts AS \"search_attempts!: i64\", last_searched_at FROM movies WHERE tmdb_id = ? OR title LIKE ? ESCAPE '\\' ORDER BY title, year, id",
"describe": {
"columns": [
{
@@ -65,10 +65,10 @@
}
],
"parameters": {
"Right": 1
"Right": 2
},
"nullable": [
true,
false,
false,
false,
true,
@@ -82,5 +82,5 @@
true
]
},
"hash": "2a1c86807011c8dfba5583d7172e8fdfdd2db6e52695e6f4980d1285c9964959"
"hash": "8617bd44229736609d860935f22413cc21e26c9cace9a0e2180cca42219cfce3"
}