gentics / mesh-ui

Gentics Mesh UI
https://getmesh.io
Apache License 2.0
23 stars 27 forks source link

Node search should be ordered by relevancy score, not creation date #331

Open fmteixeira opened 3 years ago

fmteixeira commented 3 years ago

When searching in the mesh-ui, the results are ordered by the creation date instead of the relevancy score, this creates the following problems:

Image of a search where the most relevant is not at the top

It seems that this is affected by the code on the images below, I suggest removing the "sort" parameters from these queries as it will use the relevancy by default. Code 1 at "src\app\core\providers\effects\list-effects.service.ts" line 189 Code 2 at "src\app\core\providers\effects\list-effects.service.ts" line 232