Fix CCS category order search

This commit is contained in:
hz
2026-07-23 23:14:38 -05:00
parent b9d4687b1b
commit edcc0def5d
4 changed files with 47 additions and 1 deletions
+7
View File
@@ -608,6 +608,13 @@ func _submit_search() -> void:
func _render_search() -> void:
_clear(search_results)
if CCSService.orders.is_empty():
_set_status(
"No matching orders found. Try a clinical name or category."
if search.text.strip_edges().length() >= 2
else "")
return
_set_status("")
for raw_order in CCSService.orders:
var order: Dictionary = raw_order
var code := str(order.get("code", ""))