12345678910111213141516171819202122232425262728 |
- From 54ee5c7b3a05850e15067d77a182cb8fe723d8e0 Mon Sep 17 00:00:00 2001
- From: Bachir Soussi Chiadmi <bachir@g-u-i.net>
- Date: Fri, 7 Feb 2014 10:29:08 +0100
- Subject: [PATCH 2/4] taxo term translation bug : added reference to bug fix in
- comment
- ---
- search_api.module | 4 ++++
- 1 file changed, 4 insertions(+)
- diff --git a/search_api.module b/search_api.module
- index 000cadb..55bd54a 100644
- --- a/search_api.module
- +++ b/search_api.module
- @@ -2221,6 +2221,10 @@ function search_api_extract_fields(EntityMetadataWrapper $wrapper, array $fields
- foreach ($nested as $prefix => $nested_fields) {
- if (isset($wrapper->$prefix)) {
- $nested_fields = search_api_extract_fields($wrapper->$prefix, $nested_fields, $value_options);
- + # http://drupal.org/node/1873910#comment-6876200
- + // $subwrapper = $wrapper->$prefix;
- + // $subwrapper->language( $wrapper->language->value() );
- + // $nested_fields = search_api_extract_fields($subwrapper, $nested_fields, $value_options);
- foreach ($nested_fields as $field => $info) {
- $fields["$prefix:$field"] = $info;
- }
- --
- 2.3.5
|