Commit 3e0c6ce4 authored by Andreas Hennings's avatar Andreas Hennings Committed by Thomas Seiber
Browse files

Issue #2930706 by donquixote, Graber, mibfire, drunken monkey, joel_osc: Fixed...

Issue #2930706 by donquixote, Graber, mibfire, drunken monkey, joel_osc: Fixed "index items immediately" functionality in connection with Workbench Moderation.
parent 318fac54
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGELOG.txt: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
Search API 1.x, dev (xxxx-xx-xx):
---------------------------------
- #2930706 by donquixote, Graber, mibfire, drunken monkey, joel_osc: Fixed
  "index items immediately" functionality in connection with Workbench
  Moderation.
- #2159827 by .bert, drunken monkey: Fixed regression with wrong search base
  paths in Facet API adapter.
- #3215213 by drunken monkey: Fixed undefined index "#value" in
+4 −1
Changes for search_api.module: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1843,7 +1843,10 @@ function &search_api_index_specific_items_delayed(SearchApiIndex $index = NULL,

  // Only register the shutdown function once.
  if (empty($registered)) {
    drupal_register_shutdown_function('_search_api_index_queued_items');
    // Instead of registering the shutdown function directly, do it in a way
    // that ensures it will run last. This helps avoid issues with other
    // modules' shutdown functions, especially workbench_moderation_store().
    drupal_register_shutdown_function('drupal_register_shutdown_function', '_search_api_index_queued_items');
    $registered = TRUE;
  }