Commit df6cce3d authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

Fix TypeError on cw_fetch_order


Closes #68173395
parent e2c534004795
......@@ -17,7 +17,7 @@ class PhoneNumber(AnyEntity):
fetch_attrs = fetch_config(['number', 'type'])[0]
@classmethod
def cw_fetch_order(cls, attr, var):
def cw_fetch_order(cls, select, attr, var):
if attr == 'type':
return 'phonetype_sort_value(%s) DESC' % var
return None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment