Ticket #2313 (closed enhancement: fixed)

Opened 2 years ago

Last modified 22 months ago

Deprecate old facet data structures and related functions.

Reported by: icmurray Owned by: icmurray
Priority: awaiting merge Milestone: ckan-v1.8
Component: ckan Keywords: deprecate deprecation
Cc: seanh Repository: ckan
Theme: none

Description

In branch feature-1821-multilingual-extension, a new faceting datastructure was introduced. This makes the old one and related functions obsolete. These have been marked as deprecated for the 1.7 release, and should be removed for the 1.8 release.

  • helpers.py:facet_items()
  • facets.html:facet_sidebar()
  • uses of c.facets (rather than c.new_facets)

Change History

comment:1 Changed 2 years ago by seanh

Note that c.new_facets has now been renamed c.search_facets.

Before this ticket is closed the old c.facets should also be removed from the template context. It's put there by ckan/logic/action/get.py:package_search(), which also puts the new c.search_facets there.

comment:2 Changed 23 months ago by icmurray

  • Owner set to icmurray
  • Status changed from new to assigned

comment:3 Changed 22 months ago by icmurray

  • Priority changed from minor to awaiting merge

comment:4 Changed 22 months ago by icmurray

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.