Hi,

here is my patch from #cococodesprint. I reworked the language block in Apache Solr Multilingual. I changed the block delta from "apachesolr_multilingual_language" to "language". This was necessary because "apachesolr_facet_block()" has changed. The parameter $facet_field ist not available in 7.x.

We need a upgrade path from Drupal 6. Two things must be done:
- rename the block delta to "language"
- rewrite enabled facets configuration

This update path in not included in the patch. Everything else works fine in my local Drupal installation. Patch is attached.

CommentFileSizeAuthor
apachesolr_multilingual__blocks.patch5.72 KBwebflo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ogi’s picture

subscribe

mkalkbrenner’s picture

Assigned: Unassigned » mkalkbrenner
Status: Active » Needs review

I added the missing implementation of hook_block_save() to the patch and committed it to cvs.

pfrenssen’s picture

Status: Needs review » Needs work
Issue tags: +D7 upgrade path

Updating status. The patch has already been committed. Still needs an update path.

mkalkbrenner’s picture

Status: Needs work » Closed (won't fix)

obsolete due to facet api

  • Commit 049c73d on 7.x-1.x, 6.x-3.x by mkalkbrenner:
    [#1048066] webflo, mkalkbrenner: Drupal 7 Upgrade. Port hook_block to...