app/models/effective/effective_datatable/ajax.rb in effective_datatables-2.12.0 vs app/models/effective/effective_datatable/ajax.rb in effective_datatables-2.12.1

- old
+ new

@@ -47,10 +47,10 @@ def display_entries @display_entries ||= begin entries = (@default_entries.presence || EffectiveDatatables.default_entries) entries = -1 if entries.to_s.downcase == 'all' - [10, 25, 50, 100, 250, 1000, -1].include?(entries) ? entries : 25 + [5, 10, 25, 50, 100, 250, 1000, -1].include?(entries) ? entries : 25 end end def search_terms @search_terms ||= HashWithIndifferentAccess.new().tap do |terms|