Use value of enum, not class name
This commit is contained in:
parent
c8e7ee3ebf
commit
7fe51c340a
@ -640,10 +640,10 @@ class FAAPI:
|
||||
'page': 1,
|
||||
'q': search,
|
||||
'do_search': 'Search',
|
||||
'order-by': opts.order_by,
|
||||
'order-direction': opts.order_direction,
|
||||
'range': opts.range,
|
||||
'mode': opts.match_mode
|
||||
'order-by': opts.order_by.value,
|
||||
'order-direction': opts.order_direction.value,
|
||||
'range': opts.range.value,
|
||||
'mode': opts.match_mode.value
|
||||
}
|
||||
|
||||
# Set optional keys since they're judged on presence, not value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user