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

Currency serialization #60

Merged
merged 1 commit into from
Mar 21, 2020
Merged

Conversation

microposmp
Copy link
Contributor

Made a small change to the serialization of PricePart data. Currently data for the unspecified currency is stored.

	"PricePart": {
		"Price": {
			"value": 999.0,
			"nativename": "Unspecified",
			"englishname": "Unspecified",
			"symbol": "---",
			"iso": "---",
			"currency": "SEK"
		}
	},

Added it to the currency table to make it known and serialize like this.

	"PricePart": {
		"Price": {
			"value": 99.0,
			"currency": "SEK"
		}
	},

@bleroy bleroy merged commit 10538e6 into OrchardCMS:master Mar 21, 2020
@bleroy
Copy link
Member

bleroy commented Mar 21, 2020

Thanks!

@microposmp microposmp deleted the moneytype-fixes branch March 21, 2020 19:50
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.

2 participants