Function nodequeue_api_autocomplete.

<?php
  // Call to the API.
  $function = $queue->owner . "_nodequeue_autocomplete";
  if (function_exists($function)) {
    return $function($queue, $subqueue, $string, $where, $where_args);
  }

?>

But $where is not defined and $where_args - is allways empty.

Comments

juampynr’s picture

Version: 7.x-2.0-beta1 » 7.x-2.x-dev
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new847 bytes

Here is a patch that sends the query to $queue->owner . "_nodequeue_autocomplete" and removes $where and $where_args arguments as the former is undefined and the later is empty.

  • fizk committed 07c107b on 7.x-2.x authored by juampy
    Issue #1784670 by juampy: Call to 3rd party autocomplete function have...
fizk’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.