Fix block facets.
authorJason Skomorowski <jason@indexdata.com>
Wed, 16 Feb 2011 17:55:50 +0000 (18:55 +0100)
committerJason Skomorowski <jason@indexdata.com>
Wed, 16 Feb 2011 17:55:50 +0000 (18:55 +0100)
mkdru.module

index 6acbcd9..f9b89ed 100644 (file)
@@ -359,15 +359,18 @@ function mkdru_block_view($delta) {
   switch ($delta) {
     case 'mkdru_sources':
       $block['subject'] = t('Source');
-      $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-source');
+      $block['content'] = theme('mkdru_block_facet',
+                                array('class' => 'mkdru-facet-source'));
       return $block;
     case 'mkdru_subjects':
       $block['subject'] = t('Subject');
-      $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-subject');
+      $block['content'] = theme('mkdru_block_facet',
+                                array('class' => 'mkdru-facet-subject'));
       return $block;
     case 'mkdru_authors':
       $block['subject'] = t('Author');
-      $block['content'] = theme('mkdru_block_facet', 'mkdru-facet-author');
+      $block['content'] = theme('mkdru_block_facet',
+                                array('class' => 'mkdru-facet-author'));
       return $block;
     }
   if (substr($delta, 0, 13) == 'mkdru_search_') {