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

added 'additional_publish_fields' as an app setting #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

garvitverma
Copy link

We wanted to use our custom fields added on the PublishedFile entities to be available in the loader hooks.

@@ -249,7 +249,8 @@ def _do_load_data(self, sg_filters, treeview_folder_items):
else:
self._publish_type_field = "tank_type"

publish_fields = [self._publish_type_field] + constants.PUBLISHED_FILES_FIELDS
publish_fields = [self._publish_type_field] + constants.PUBLISHED_FILES_FIELDS \
+ app.get_setting("additional_publish_fields")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line over-indented for visual indent

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