Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1057 - 1059 of 2152)

Ticket Resolution Summary Owner Reporter
#1104 fixed create-test-data doesn't index the packages it creates dread johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

With the default test data created by

paster db clean paster db init paster create-test-data

going to the front page shows two recently changed packages A Wonderful Story A Novel by Tolstoy

But none of those words "Wonderful", etc produce search hits. In fact as far as I can tell, nothing produces any search hits.

That isn't true on ckan.net, where searching seems to work.

#1105 invalid test ticket, please ignore nils.toedtmann

Reported by nils.toedtmann, 3 years ago.

Description

.

#1106 fixed Bugs related to routes arising from API refactor + removal of default routes rgrp rgrp

Reported by rgrp, 3 years ago.

Description

Various bugs I've been encountering:

Latter issue was masked by existence of 'default' routes:

   map.connect('/{controller}', action='index')
   map.connect('/:controller/{action}')
   map.connect('/{controller}/{action}/{id}')

Having these is, I think, bad practice as it is better to be explicit and we should therefore remove asap.

In addition I think we should be cautious about 'default' routes in core such as:

    map.connect('/api/rest/:register', controller='api', action='list',
        conditions=dict(method=['GET'])
        )

As it makes it harder for extensions to introduce their own APIs (here one could perhaps add something at /api/rest/{my-object} but only by using before_map rather than after_map).

Note: See TracQuery for help on using queries.