Open sbose78 opened 7 years ago
Keep in mind it's only by luck that Users exists in the same DB as WorkItems right now.
@sbose78 what's the use case here?
I wonder if this really is covered by #439
User and WorkItems are two different types and do not need to be searched for in the same Query.
Hi @tsmaeder ,
The use case is that a generic search should return results off all objects in the system.
Example, in github when we search in the top search bar https://github.com/search?utf8=%E2%9C%93&q=almighty
the left navigation bar shows number of results pertaining to each type .
So I was wondering if our sql query should also do the same.
We could definitely do this is separate queries, but that felt slightly inefficient to me.
related to #395