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

Construct index, show and facet field labels from the field name if no field name is available. #986

Merged
merged 1 commit into from
Nov 10, 2014

Conversation

cbeer
Copy link
Member

@cbeer cbeer commented Sep 9, 2014

Fixes one of the problems in #974

)
end

##
# Look up the label for the show field
def document_show_field_label document, field
label = document_show_fields(document)[field].label

field_config document_show_fields(document)[field]
Copy link
Member

Choose a reason for hiding this comment

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

is this missing an assignment = operator?

@cbeer cbeer force-pushed the possible-bad-facet-name-fix branch from 0786651 to 1997445 Compare September 9, 2014 15:56
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 1997445 on possible-bad-facet-name-fix into 3e1b865 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 1997445 on possible-bad-facet-name-fix into 3e1b865 on master.

@cbeer cbeer force-pushed the possible-bad-facet-name-fix branch from 1997445 to 503bfdb Compare November 10, 2014 16:42
@cbeer cbeer added this to the 5.8.0 milestone Nov 10, 2014
jcoyne added a commit that referenced this pull request Nov 10, 2014
…e-fix

Construct index, show and facet field labels from the field name if no field name is available.
@jcoyne jcoyne merged commit bf8f0d5 into master Nov 10, 2014
@jcoyne jcoyne deleted the possible-bad-facet-name-fix branch November 10, 2014 21:27
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.

3 participants