Fix CCS category order search
This commit is contained in:
@@ -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", ""))
|
||||
|
||||
Reference in New Issue
Block a user