added seller filter

This commit is contained in:
Simon Hirsig
2019-03-27 08:38:42 +01:00
parent d6fefc5184
commit 5d3c20efb1
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -179,6 +179,15 @@ M.filters = {
end
end
},
['seller'] = {
input_type = 'string',
validator = function(name)
return function(auction_record)
return auction_record.owner and strupper(name) == strupper(auction_record.owner)
end
end
},
}
function operator(str)