whoishiring / feedback

Public issue tracker for https://whoishiring.io
8 stars 0 forks source link

Number of results updates at the wrong time #60

Open wolff opened 6 years ago

wolff commented 6 years ago

Hi,

I noticed a bug with the number of results being displayed on the map. The number of results seems to update not when you're done typing a search term, but after you delete your search term. I think the expected result should be that the counter matches the number of results displayed on the map at that moment.

  1. Focus map on the United States of America
  2. Choose some filters like Remote and enter a keyword of php
  3. Note that the number of results displayed is incorrectly shown as 358–the pre-filtered number–instead of the 14 results displayed on the map
  4. Delete your php keyword and note that the counter for the number of results updates to 14, but the map is now showing all the remote results for the US.

php as used above is arbitrary, you can see similar results happen with search terms like react

You can also trigger the correct result to be shown by opening a dropdown like the created-time filter dropdown