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

Fix the "Visible to everyone" option #912

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

soroushj
Copy link
Contributor

@soroushj soroushj commented Jul 2, 2019

The selected value was ignored. Newly-created books were always visible to everyone.

The reason is that the value of data.get('visible_to_everyone', None) can be either None or 'on'. So it should be compared with 'on', not 'off'.

The selected value was ignored, always visible to everyone.
@ride90 ride90 merged commit a1fe45e into booktype:master Oct 9, 2019
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