Ticket #3029 (assigned defect)

Opened 17 months ago

Last modified 17 months ago

JSONP parameter scuppers Search in API

Reported by: dread Owned by: seanh
Priority: awaiting triage Milestone:
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

http://datahub.io/api/2/search/package?jsonp=jsonpcallback&q=canada returns

{"count": 0, "results": []}

I believe this worked in CKAN 1.4 or 1.5, but it is broken on 1.7.1, 1.8 and whatever demo.ckan.org is running. I suspect the jsonpcallback parameter is getting sent to SOLR.

This bug prevents using javascript on another site to search CKAN (although hopefully the action API would work).

Change History

comment:1 Changed 17 months ago by dread

  • Owner set to seanh
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.