Commit 3d0f53a7 authored by yched's avatar yched

#167468 Fix noderef autocomplete widget w/ 'advanced (Views) mode' and Views 1.6 :

 the first set of matches is repeated for subsequent edits (Views query cache)
parent 41b2e5bf
// $Id$
4.7--1.6-1
==========
Hotfix release for CCK 1.6.
Bugfix
------
General
- #167607 Fix '&nbsp' (missing ';') on field display.
Field / widget modules
- #167468 Nodereference : Fixed autocomplete widget w/ 'advanced (Views) mode' and Views 1.6 :
the first set of matches is repeated for subsequent edits (Views query cache)
4.7--1.6
========
......
......@@ -424,7 +424,8 @@ function _nodereference_potential_references($field, $return_full_nodes = FALSE,
$view->page_type = 'list';
// make sure the query is not cached
unset($view->query);
unset($view->query); // Views 1.5-
$view->is_cacheable = FALSE; // Views 1.6+
$view_result = views_build_view('result', $view, $view_args);
$result = $view_result['result'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment