On node pages an error is shown in the nodequeue_apachesolr_modify_query() function. The api has changed:

/**
  * Any module performing a search should call apachesolr_modify_query($query, 'modulename').
  * That function then invokes this hook. It allows modules to modify the query object and params array.
  * $caller indicates which module is invoking the hook. A return value of TRUE from
  * apachesolr_modify_query() indicates the search should be aborted. A module implementing
  * hook_apachesolr_modify_query() may return TRUE to flag the query to be aborted.
  */
function hook_apachesolr_modify_query($query, $caller) {
  // I only want to see articles by the admin!
  $query->add_filter("uid", 1);
}
CommentFileSizeAuthor
#1 nodequeue_1025238.patch1010 bytesR.Muilwijk

Comments

R.Muilwijk’s picture

StatusFileSize
new1010 bytes
amateescu’s picture

Status: Needs review » Closed (duplicate)