This commit is contained in:
Kovid Goyal 2011-06-02 16:33:15 -06:00
parent 538a01440a
commit 0f0e624fcc

View File

@ -93,8 +93,8 @@ class Rule(object): # {{{
def identifiers_condition(self, col, action, val): def identifiers_condition(self, col, action, val):
if action == 'has id': if action == 'has id':
return "identifier_in_list(field('identifiers'), '%s', '1', '')" return "identifier_in_list(field('identifiers'), '%s', '1', '')"%val
return "identifier_in_list(field('identifiers'), '%s', '', '1')" return "identifier_in_list(field('identifiers'), '%s', '', '1')"%val
def ondevice_condition(self, col, action, val): def ondevice_condition(self, col, action, val):
if action == 'is set': if action == 'is set':