Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (283 - 285 of 2152)

Ticket Resolution Summary Owner Reporter
#1746 wontfix Activity streams pagination seanh

Reported by seanh, 2 years ago.

Description

Currently user, package and group activity streams only return the most recent 15 activities, even though all activities are kept in the db. Do we want to add pagination - to both the API and the HTML pages - to support retrieving older activities?

#1798 fixed API search in non-q fields has exception for unicode characters dread

Reported by dread, 2 years ago.

Description

You get an exception if you use the API to search packages and specify a non-ascii character in a field other than q.

For example:

http://catalogue.data.gov.uk/api/search/package?title=%E2%80%93

This "N-dash" (Unicode character 2013) causes this exception:

Module ckan.controllers.api:460 in search
<<                      if ver in u'12':
                               # Otherwise, put all unrecognised ones into the q parameter
                               params = convert_legacy_parameters_to_solr(params)
                           query = query_for(model.Package)
                           results = query.run(params)
>>  params = convert_legacy_parameters_to_solr(params)
Module ckan.lib.search.query:38 in convert_legacy_parameters_to_solr
<<      for search_key in non_solr_params:
               value_obj = legacy_params[search_key]
               value = str(value_obj).replace('+', ' ')
               if search_key == 'all_fields':
                   if value:
>>  value = str(value_obj).replace('+', ' ')
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 30: ordinal not in range(128)

This problem affects CKAN 1.5 and 1.5.1 only.

#1801 fixed No links to password reset dread

Reported by dread, 2 years ago.

Description

You can reset your password (#1186) but you have to know the URI (/user/reset) - there is no link to this page!

Note: See TracQuery for help on using queries.