Skip to content

Prevent iteration title search from omitting iteration numbers

Search by title for iterations uses fuzzy search that removes any query word that's less than 3 characters.

This results in a poor user experience because iterations are often titled with their sequence numbers like Iteration 1 and 1 is removed by the fuzzy search (e.g., title search Iteration 1 really translates into ILIKE '%iteration%'.)

As a possible improvement we could look for a substring that matches a pre-defined regex like iteration (\d+) and insert a conditional clause title='iteration 1' (this may not be the best solution).

Edited by euko