Completed
Push — 7.x-3.x ( 114c9f...5c8d3e )
by Devin
07:23 queued 03:04
created
modules/commons_search_solr/commons_search_solr.pm_existing_pages.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr.pm_existing_pages.inc
5
- */
3
+   * @file
4
+   * commons_search_solr.pm_existing_pages.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_pm_existing_pages_info().
Please login to merge, or discard this patch.
commons_search/modules/commons_search_solr/commons_search_solr.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr.features.inc
5
- */
3
+   * @file
4
+   * commons_search_solr.features.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_ctools_plugin_api().
Please login to merge, or discard this patch.
commons_search/modules/commons_search_solr/commons_search_solr.module 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * Code for the Commons Search Solr feature.
5
- */
3
+   * @file
4
+   * Code for the Commons Search Solr feature.
5
+   */
6 6
 
7 7
 include_once 'commons_search_solr.features.inc';
8 8
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
   if (empty($env_id)) {
24 24
     $env_id = commons_search_solr_search_environment();
25 25
   }
26
-  foreach($facets as $facet) {
26
+  foreach ($facets as $facet) {
27 27
     $facet['settings'] = serialize($facet['settings']);
28 28
     $facet['name'] = $env_id . $facet['name'];
29 29
     $facet['searcher'] = $env_id;
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
  * Implements hook_apachesolr_process_results().
483 483
  */
484 484
 function commons_search_solr_apachesolr_process_results(&$results, DrupalSolrQueryInterface $query) {
485
-  foreach($results AS $rkey => $result) {
485
+  foreach ($results AS $rkey => $result) {
486 486
     if ($results[$rkey]['fields']['entity_type'] == 'node') {
487 487
       if ($node = node_load($results[$rkey]['fields']['entity_id'])) {
488 488
         $node_view = node_view($node, 'teaser');
Please login to merge, or discard this patch.
modules/commons_search_solr/commons_search_solr.strongarm.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr.strongarm.inc
5
- */
3
+   * @file
4
+   * commons_search_solr.strongarm.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_strongarm().
Please login to merge, or discard this patch.
commons_search_solr/commons_search_solr.apachesolr_search_defaults.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr.apachesolr_search_defaults.inc
5
- */
3
+   * @file
4
+   * commons_search_solr.apachesolr_search_defaults.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_apachesolr_search_default_searchers().
Please login to merge, or discard this patch.
commons_search_solr_user/commons_search_solr_user.features.menu_links.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr_user.features.menu_links.inc
5
- */
3
+   * @file
4
+   * commons_search_solr_user.features.menu_links.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_menu_default_menu_links().
Please login to merge, or discard this patch.
modules/commons_search_solr_user/commons_search_solr_user.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr_user.features.inc
5
- */
3
+   * @file
4
+   * commons_search_solr_user.features.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_ctools_plugin_api().
Please login to merge, or discard this patch.
commons_search_solr_user.apachesolr_search_defaults.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_search_solr_user.apachesolr_search_defaults.inc
5
- */
3
+   * @file
4
+   * commons_search_solr_user.apachesolr_search_defaults.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_apachesolr_search_default_searchers().
Please login to merge, or discard this patch.
modules/commons_search_solr_user/commons_search_solr_user.module 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * Code for the Commons Search Solr User feature.
5
- */
3
+   * @file
4
+   * Code for the Commons Search Solr User feature.
5
+   */
6 6
 
7 7
 include_once 'commons_search_solr_user.features.inc';
8 8
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         ->execute();
113 113
       $user_ids = array_keys($results['user']);
114 114
       foreach ($user_ids as $uid) {
115
-        $out_results[] = user_view(user_load($uid), 'search_results');($user_ids);
115
+        $out_results[] = user_view(user_load($uid), 'search_results'); ($user_ids);
116 116
       }
117 117
       $build['pager'] = array(
118 118
         // As nice as it would be to make this use #theme, it is a bit more
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
       $form['custom_search_types']['#options'] = array_merge(array('s-user' => t('People')), $other_options);
250 250
     }
251 251
     //We want to override the #submit with our own, the other submits aren't relevant for the user page
252
-    $form['#submit'][]= 'commons_search_solr_user_search_submit';
252
+    $form['#submit'][] = 'commons_search_solr_user_search_submit';
253 253
   }
254 254
 }
255 255
 
Please login to merge, or discard this patch.