0002-taxo-term-translation-bug-added-reference-to-bug-fix.patch 1.1 KB

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