lib/medea/jasonlistproperty.rb in medea-0.3.1 vs lib/medea/jasonlistproperty.rb in medea-0.3.2
- old
+ new
@@ -8,10 +8,11 @@
def initialize parent, list_name, list_class, list_type
super :class => list_class,
:format => :search,
:filters => {
:VERSION0 => nil,
- :FILTER => {:HTTP_X_LIST => list_name}}
+ :FILTER => {:HTTP_X_LIST => list_name,
+ :HTTP_X_ACTION => :POST}}
self.filters[:FILTER][:HTTP_X_CLASS] = list_class.name if list_type == :value
@list_name = list_name
@parent = parent
@state = :prefetch
\ No newline at end of file