Move the texts of CollectibleSortType and CollectibleFilterType to their corresponding dropdowns UI components (previously, was using their string values, but now I use them as the values in the URL).
Store collectibles list sort and filter values in the URL search params. Use connected-react-router action replace for this so the UI doesn't add history entries when changing the values.
Fix compareAscending function in util/sortable_collectibles.ts: the "inverted" functions were putting the collectibles that lacked an order first.
Connects #320. Connects #321.
Includes
CollectibleSortType
andCollectibleFilterType
to their corresponding dropdowns UI components (previously, was using their string values, but now I use them as the values in the URL).connected-react-router
actionreplace
for this so the UI doesn't add history entries when changing the values.compareAscending
function inutil/sortable_collectibles.ts
: the "inverted" functions were putting the collectibles that lacked an order first.Does not include
Preview