Ticket #2470 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Fix inconsistency in package_list snippet

Reported by: johnglover Owned by: johnglover
Priority: minor Milestone: ckan-sprint-2012-06-25
Component: ecportal Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by johnglover) (diff)

Datasets listed in search results have not gone through schema validation (but on the user page they do), so package_list snippet currently has to display both 'notes' and 'description'.

Change History

comment:1 Changed 2 years ago by johnglover

  • Description modified (diff)
  • Summary changed from Make datasets in recent updates go through schema validators/converters to Fix inconsistency in package_list snippet

comment:2 Changed 2 years ago by johnglover

  • Status changed from new to closed
  • Resolution set to fixed

Search results validated against schema. Added a class implementing IPackageController, in after_search results are replaced with package dicts got from package_show. A bit heavy-handed, but works for now. Maybe we should just call package_show in the package_search logic function in core?

Note: See TracTickets for help on using tickets.