lib/plutonium/core/ui/collection.rb in plutonium-0.5.0 vs lib/plutonium/core/ui/collection.rb in plutonium-0.6.0

- old
+ new

@@ -1,11 +1,11 @@ module Plutonium module Core module UI - Collection = Data.define :resource_class, :records, :fields, :actions, :pagination, :search_object do + Collection = Data.define :resource_class, :records, :fields, :actions, :pagination, :search_object, :search_field do def initialize( resource_class:, records: [], fields: {}, actions: Plutonium::Core::Actions::Collection.new, - pagination: nil, search_object: nil + pagination: nil, search_object: nil, search_field: nil ) super end end end