[filters] [fix] use get_value method of each filter

This commit is contained in:
Anand Doshi 2013-05-31 16:04:19 +05:30
parent f141a929ef
commit 71c7a512b2

View file

@ -70,9 +70,8 @@ wn.ui.FilterList = Class.extend({
get_filters: function() {
// get filter values as dict
var values = [];
$.each(this.filters, function(i, f) {
if(f.field)
values.push(f.get_parsed_value());
$.each(this.filters, function(i, filter) {
values.push(filter.get_value());
})
return values;
},