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

Restore field for editing promotion per_code_usage_limit in admin #2497

Merged

Conversation

jordan-brough
Copy link
Contributor

Fixes #2422

The ability to edit the per_code_usage_limit on existing promotions was lost
during the updates in 374b931.

The fix here is a bit awkward because the placement of the field changes in the new-promotion page vs the edit-promotion page. The field is in a nice place on the new-promotion page (area where you specify that you are going to want multiple codes) but that area doesn't exist on the edit-promotion page.

I'm very open to other ideas on how to restore this. But in the worst case this PR at least restores the ability to see and edit the value.

Before:

screenshot-2018-1-10 asdf - promotions

After:

screenshot-2018-1-10 asdf - promotions 1

The ability to edit the per_code_usage_limit on existing promotions was lost
amidst the updates in 374b931.
@jordan-brough jordan-brough force-pushed the show-per-code-usage-limit-in-admin branch from 3495703 to 12dbeca Compare January 11, 2018 14:40
@gmacdougall gmacdougall merged commit 493c3a1 into solidusio:master Jan 17, 2018
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.

No way to see or edit promotion.per_code_usage_limit in admin
3 participants