-
Notifications
You must be signed in to change notification settings - Fork 0
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
173 Custom Fields when modifying organisation #32
173 Custom Fields when modifying organisation #32
Conversation
014ae48
to
993243b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do those fields originally come from?
@ChasNelson1990 , the fields are in the block in zarr-ckan/ckan/ckan/templates/organization/snippets/organization_form.html:
|
@A-Souhei - but that block is only handling formatting of the custom fields why do we have these fields in the data dictionary at all? |
I will look more at it tomorrow. |
@ChasNelson1990 , from snippets/custom_form_fields.html:
This chunk will make it that even if we set limit to 0 in previous comment code, it will add 3 customs fields by default. Should I update this template instead? I tried with a vanilla ckan docker compose stack : |
@A-Souhei do we know why this was added? Or when, is it recent? Is there a good reason? |
Some interesting discussions about it : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get this merged
Description
Removes custom fields from organization's new and edit pages.
Closes fjelltopp/zarr-ckan#173
Checklist
Put an
x
in the boxes that apply to this pull request (you can also fill these out after opening the pull request).You may not need to check all boxes.