We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce1e533 + a6b937b commit 85e626eCopy full SHA for 85e626e
1 file changed
api/search.py
@@ -67,7 +67,7 @@ def _get_contact_results(session: Session, q: str, limit: int) -> list[dict]:
67
contacts = session.scalars(query).all()
68
results = [
69
{
70
- "label": c.name,
+ "label": c.name or c.organization,
71
"group": "Contacts",
72
"properties": {
73
"email": [e.email for e in c.emails],
0 commit comments