If filter has no name, return str(id) instead of int id.
This commit is contained in:
parent
95392bad2e
commit
203ce71454
1 changed files with 1 additions and 1 deletions
|
@ -1067,7 +1067,7 @@ class Filter(ObjectBase):
|
|||
if self.name is not None:
|
||||
return self.name
|
||||
|
||||
return self.id
|
||||
return str(self.id)
|
||||
|
||||
def jsonify(self):
|
||||
self.assert_not_deleted()
|
||||
|
|
Loading…
Reference in a new issue