Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (736 - 738 of 2152)

Ticket Resolution Summary Owner Reporter
#1549 wontfix [super] Short link tool ross

Reported by ross, 2 years ago.

Description

It would be great to have a CKAN extension that allowed users (or CKAN itself) to generate short links to other URIs (both internal and external). Once created, shortlinks made by CKAN should be changeable. This would allow uploaded content to be moved without the user's link changing at all. The tool itself might also be of use as a general link-shortener to users other than the CKAN system itself.

Another useful feature would be for this to also collect some simple analytics such as the referrer and client IP for future reference. I'm not yet sure what we would do with the analytics other than some sort of popularity metric.

Questions:

  • Core, or Extension, or Self-hosted?
#1548 fixed Simplfy inheritance in functional tests dread dread

Reported by dread, 2 years ago.

Description

It's hard to understand what's going on with the functional tests because there is so much going on in inherited classes. Would be better to be explicit in constructors, even if it involves cut & paste.

#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

Note: See TracQuery for help on using queries.