appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.89k stars 471 forks source link

MultiList sortBy does not work when item selected. #2297

Open furkanayilmaz opened 2 months ago

furkanayilmaz commented 2 months ago

Affected Projects React

Library Version: x.y.z "@appbaseio/reactivesearch": "^3.28.0",

Describe the bug I implemented a simple sort by count and Ascending. When none of the items are selected both work but when an item is selected the ascending or count does not work. I can see in the React DevTools sortBy value changing but the list order does not change when an item is selected

To Reproduce

Steps to reproduce the behavior:

Expected behavior Even if an item is selected the filter option should work