okfn / ckanext-tsbsatellites

repo for Satellites Catapult's CKAN
http://data.satapps.org/
GNU Affero General Public License v3.0
3 stars 3 forks source link

Add additional fields in search results #46

Closed adamamyl closed 10 years ago

adamamyl commented 10 years ago

In search results, is it possible to add additional info underneath the title, but before the blurb?

(if this would take longer than half a day, please say before doing.)

Ideally, only if data exists (but maybe consistent placement?) -- for:

Both with a label and the value (where existing)

User-testing suggests that having some of these available on the LHS is not enough :(

amercader commented 10 years ago

Just need to call {{ h.get_pkg_dict_extra(package, 'spatial-resolution') }} on the relevant parts of

https://github.com/okfn/ckanext-tsbsatellites/blob/master/ckanext/tsbsatellites/theme/templates/snippets/package_item.html

And style it nicely.

The IATI registry has a custom dataset listing as well: http://iatiregistry.org/dataset

nigelbabu commented 10 years ago

@adamamyl Is frequency-of-collection, spatial-resolution, and access_constraints the right keys?

adamamyl commented 10 years ago

Looks right to me.

nigelbabu commented 10 years ago

I've got everything but frequency of collection working. It needs to play well with frequency of collection units.

nigelbabu commented 10 years ago

Deployed to staging, please test on http://data.satapps.org:8081/dataset