lib/netzke/basepack/search_panel.rb in netzke-basepack-0.6.5 vs lib/netzke/basepack/search_panel.rb in netzke-basepack-0.7.0

- old
+ new

@@ -55,10 +55,10 @@ def js_config super.merge( :attrs => attributes, :attrs_hash => data_class.column_names.inject({}){ |hsh,c| hsh.merge(c => data_class.columns_hash[c].type) }, - :query => (config[:load_last_preset] ? last_preset.try(:fetch, "query") : config[:query]) || [] + :preset_query => (config[:load_last_preset] ? last_preset.try(:fetch, "query") : config[:query]) || [] ) end def attributes data_class.column_names.map do |name|