FHNW-IVGI / Geoharvester

NDGI Project Geoharvester
10 stars 1 forks source link

[Backend, Frontend] Results ranking with filter #52

Closed eliaferrari closed 10 months ago

eliaferrari commented 1 year ago

Description

The implemented ranking function is applied only if no filter (service / provider) is set. The results seem to have a random order if a filter is set. The issue could lie in the API getData function.

28

Without filters: Nofilter

With filter: filter

eliaferrari commented 1 year ago

@fionatiefenbacher and I found out that the problem lies on the browser. Firefox works while chrome resort the results in reverse. More information will follow.

FStriewski commented 1 year ago

With the latest changes introduced bythe pagination branch this seems to be no longer an issue. I`ve tried to replicate the error with the example provided, FF and Chrome are consistent and display "Entwässerungsgebiete" as top result.

Could you give it another check with the deployed version (http://3.76.227.122/) and if fixed, close this issue? @eliaferrari

eliaferrari commented 1 year ago

I've done some testing with both browsers and they seems to have the same behavior. If you apply a filter the first time (without buffer) you have to press again "suchen" to obtain the right results. @FStriewski Search without filter: First search Apply filters on the previous search: Apply the filter for a canton Press again the search button Pressed again the search button

FStriewski commented 10 months ago

Seems fixed, closed for now.