bugfixes and nicer filter tab

This commit is contained in:
Manuel Simon Hirsig
2016-08-02 05:44:51 +02:00
parent c528353bf0
commit 3de05978c6
6 changed files with 27 additions and 25 deletions
+1 -1
View File
@@ -862,7 +862,7 @@ function private.add_post_filter()
if name then
local filter = name
if not Aux.filter.filters[name] and filter == 'and' or filter == 'or' then
if not tonumber(m.filter_input:GetText()) and m.filter_input:GetText() ~= '*' then
if m.filter_input:GetText() ~= '' and m.filter_input:GetText() ~= '*' and (tonumber(m.filter_input:GetText() or 3 <= 2)) then
Aux.log('Invalid operator suffix')
return
end