NavigaTUM icon indicating copy to clipboard operation
NavigaTUM copied to clipboard

Handling of Nordgelände Rooms (and others) in Search

Open octycs opened this issue 2 years ago • 0 comments

Describe the bug Rooms in Nordgelände are often prepended with an 'N'. This causes two issues at the moment:

  • [ ] Searches with the 'N' included don't support the parsed_id, because the token is split after the 'N', but the archname (contrary to e.g. other buildings like 'MI') does include this prefix, so the comparison fails. image

  • [ ] A search for '2119' without the 'N' prefix doesn't show the desired result. image

Expected behavior Show the searched for room at the top, correctly formatted using parsed_id.

Screenshots See above.

Additional context The same probably applies for Südgelände ('S' prefix). Zentralgelände also has a prefix ('Z'), but this is less often used an not prepended in the archname in our data. The first issue also applies to for example 'BC2'

octycs avatar Jun 12 '22 19:06 octycs