Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1999 - 2001 of 2152)

Ticket Resolution Summary Owner Reporter
#1763 wontfix Add some simple model-level tests for activity streams seanh seanh
#1547 fixed Add search methods (before and after) to the IPackageController interface amercader amercader

Reported by amercader, 2 years ago.

Description

Time estimate: 1d

Add a two search method to the IPackageController interface so extensions can:

  • Modify the query being sent to Solr
def before_search(search_params):

    return search_params

  • Modify the results returned (after_search)
def after_search(search_results, search_params):

    return search_results

Please see this pad for implementation details:

http://ckan.okfnpad.org/search

#1694 fixed Add quick functional test(s) for activity streams HTML rendering seanh seanh

Reported by seanh, 2 years ago.

Description

The activity streams feature is already thoroughly tested via the logic layer and API calls, but there needs to be a quick test of the rendering code, e.g. fetch a user's page (thus testing that ckan doesn't crash while rendering it) and then assert that the expected activity streams HTML is in the fetched HTML.

Note: See TracQuery for help on using queries.