NavigaTUM
NavigaTUM copied to clipboard
Handling of Nordgelände Rooms (and others) in Search
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. -
[ ] A search for '2119' without the 'N' prefix doesn't show the desired result.
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'