Add 'include_variations' search option for cards.
This commit is contained in:
parent
ae28e11e6a
commit
48815952e5
|
@ -66,13 +66,14 @@ class Search(FoundationObject):
|
||||||
'order':kwargs.get('order', 'none'),
|
'order':kwargs.get('order', 'none'),
|
||||||
'unique':kwargs.get('unique', 'none'),
|
'unique':kwargs.get('unique', 'none'),
|
||||||
'dir':kwargs.get('dir', 'none'),
|
'dir':kwargs.get('dir', 'none'),
|
||||||
|
'include_variations':kwargs.get('include_variations','false'),
|
||||||
'include_extras':kwargs.get('include_extras', 'false'),
|
'include_extras':kwargs.get('include_extras', 'false'),
|
||||||
'include_multilingual':kwargs.get('include_multilingual', 'false'),
|
'include_multilingual':kwargs.get('include_multilingual', 'false'),
|
||||||
'page':kwargs.get('page', '1')
|
'page':kwargs.get('page', '1')
|
||||||
}
|
}
|
||||||
|
|
||||||
self.args = urllib.parse.urlencode(self.dict)
|
self.args = urllib.parse.urlencode(self.dict)
|
||||||
self.url = 'cards/search?' + self.args
|
self.url = 'cards/search?' + self.args
|
||||||
|
#print("URL: " + self.url)
|
||||||
|
|
||||||
super(Search, self).__init__(self.url)
|
super(Search, self).__init__(self.url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue