Skip to content

Commit 4eb0f6c

Browse files
authored
Merge pull request #30 from NoPos/Fix-names-for-date-time-range-input
DateTimeRangeInput fields names fixed.
2 parents 3bd51d7 + 4577af5 commit 4eb0f6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/active_admin_datetimepicker/inputs/filters/date_time_range_input.rb

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ def input_html_options(input_name = gt_input_name)
1010
options[:class] = html_class
1111
end
1212
end
13+
14+
def gt_input_name
15+
"#{method}_gteq"
16+
end
17+
18+
def lt_input_name
19+
"#{method}_lteq"
20+
end
1321
end
1422
end
1523
end

0 commit comments

Comments
 (0)