Skip to content

Commit

Permalink
backend: Fix extra_query of smart_search_asn
Browse files Browse the repository at this point in the history
Add code for passing an extra_query to the smart_search_asn internal backend
function.

Fixes #911
  • Loading branch information
garberg committed May 12, 2016
1 parent 5d8ce3c commit 9533a93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nipap/nipap/xmlrpc.py
Expand Up @@ -868,7 +868,9 @@ def smart_search_asn(self, args):
"""

try:
return self.nip.smart_search_asn(args.get('auth'), args.get('query_string'), args.get('search_options') or {})
return self.nip.smart_search_asn(args.get('auth'),
args.get('query_string'), args.get('search_options') or {},
args.get('extra_query'))
except (AuthError, NipapError) as exc:
raise Fault(exc.error_code, str(exc))

Expand Down

0 comments on commit 9533a93

Please sign in to comment.