plezanje-net / web

Angular website frontend
https://www.plezanje.net/
GNU General Public License v3.0
6 stars 1 forks source link

Fix search #411

Closed salamca closed 2 years ago

salamca commented 2 years ago

Search yields entities that are mostly sport but might also be of type alpine. Alpine routes have own routing under Alpinism and links on search are now properly generated.

To test: try searching for all the different entity types (crag, sector, route, comment), and for each of them find an example of 'sport' and an example of 'alpine' type. Determine that all links to these entities are properly generated.

'Internal' search was not working because it did not unaccent characters. Fixes this for most cases.

To test: try opening a crag with some routes that have accents in names. eg. smwh in Spain or France. Se that unaccented characters work for searching for accented characters.

closes #406 closes #408

test with https://github.com/plezanje-net/api/pull/128