Merge pull request #35 from tescott/master

Add 'include_variations' search option for cards.
This commit is contained in:
Nanda Scott 2019-03-28 19:11:21 -04:00 committed by GitHub
commit 3d7e8a6073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,11 +66,11 @@ 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