There are a few functions left over from when the facet functionality was stripped to use Facet API instead. Specifically, they are theme_apachesolr_unclick_link(), apachesolr_search_date_range(), theme_apachesolr_breadcrumb_date_range(), and apachesolr_search_vocabulary_content_types().
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 1159172-7.patch | 3.7 KB | jpmckinney |
| #1 | apachesolr-1159172-1.patch | 4.64 KB | cpliakas |
Comments
Comment #1
cpliakas commentedThe attached patch strips out the functions.
Comment #2
cpliakas commentedMarking as needs review...
Comment #3
pwolanin commentedAt some point we were still using the unclick link - but perhaps no longer if the current search block is in facet API.
function apachesolr_search_vocabulary_content_types($vid) seems like it might still be useful in terms of the dependent facet code, or is this code obsolete?
Comment #4
cpliakas commentedIt appears the Apache Solr unclick link is no longer used. Did a grep of the code and it is not called anywhere. Regarding the apachesolr_search_vocabulry_content_types($vid), a little bit of a different approach was taken to make the dependency stuff not focus solely around Taxonomy. See the 'referenced' operation in the FacetapiDependencyBundle::execute() method for the code that handles this type of dependency.
Comment #5
cpliakas commentedThis is kinda sorta an integration issue. Being tag happy.
Comment #6
jpmckinney commentedRemoves code that is never called. I approve.
Comment #7
jpmckinney commentedRemove apachesolr_taxonomy_get_term and apachesolr_entity_callback and add comments referring to #1059372: References integration is broken. Should we just remove that old CCK code for now?
Comment #8
pwolanin commentedwell, I'd rather fix it soon.
Committed you patch for now.