Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Valve's GetPriceValueAsInt when sorting by price #209

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Use Valve's GetPriceValueAsInt when sorting by price #209

merged 1 commit into from
Jul 22, 2024

Conversation

xPaw
Copy link
Contributor

@xPaw xPaw commented Jul 14, 2024

Hopefully fixes #95, as their parser is aware of the currency symbols it should work fine in the context of currently displayed prices on the page.

@Nuklon
Copy link
Owner

Nuklon commented Jul 15, 2024

Is this function also available on market page? for getPriceFromMarketListing.

@xPaw
Copy link
Contributor Author

xPaw commented Jul 15, 2024

This sorting is only used on the market, is it not? The function is available on inventory/market, unsure about trade offers. And yeah sounds like getPriceFromMarketListing can be replaced too.

Replace getPriceFromMarketListing
@xPaw
Copy link
Contributor Author

xPaw commented Jul 22, 2024

@Nuklon i've rebased this pr

@Nuklon
Copy link
Owner

Nuklon commented Jul 22, 2024

Thanks, I was waiting for a reply on the issue, but it seems to be working fine here, so let's merge it.

@Nuklon Nuklon merged commit c2a4d30 into Nuklon:master Jul 22, 2024
1 check passed
@xPaw xPaw deleted the GetPriceValueAsInt branch July 22, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort items by price doesn't work in rubles
2 participants