We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f30abc + c7beaf0 commit f363506Copy full SHA for f363506
lib/blacklight/configuration/field.rb
@@ -33,7 +33,6 @@ def validate!
33
raise ArgumentError, "Must supply a field name" if self.field.nil?
34
end
35
36
- # rubocop:disable Style/RedundantParentheses
37
def display_label(context = nil, **)
38
field_label(
39
(:"blacklight.search.fields.#{context}.#{key}" if context),
@@ -43,7 +42,6 @@ def display_label(context = nil, **)
43
42
**
44
)
45
46
- # rubocop:enable Style/RedundantParentheses
47
48
def default_label
49
if self.key.respond_to?(:titleize)
0 commit comments