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

Correcting docs around summary field relabelling #7684

Closed
wants to merge 1 commit into from

Conversation

pitchandtone
Copy link

Although this is weird that it doesn't use the same logic and searchable fields.

Although this is weird that it doesn't use the same logic and searchable fields.
@@ -196,9 +196,9 @@ class MyDataObject extends DataObject
];

private static $summary_fields = [
'Name' => 'Name',
Copy link
Contributor

Choose a reason for hiding this comment

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

The old behaviour wasn't incorrect; You can use field_labels to override summary_fields, but it's not necessary to.

Did you find the previously documented API didn't actually work?

Copy link
Contributor

@tractorcow tractorcow left a comment

Choose a reason for hiding this comment

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

Just one question about whether this change is necessary. :)

@robbieaverill
Copy link
Contributor

Ping @pitchandtone - keen to get this merged?

@kinglozzer
Copy link
Member

1fb4c6f.

@kinglozzer kinglozzer closed this Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants