Author: david
Date: Fri Oct 23 21:24:30 2009
New Revision: 3820

Log:
Make search term for parent id required.

Modified:
   trunk/apps/qubit/modules/informationobject/actions/listAction.class.php

Modified: 
trunk/apps/qubit/modules/informationobject/actions/listAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/actions/listAction.class.php     
Fri Oct 23 21:17:37 2009        (r3819)
+++ trunk/apps/qubit/modules/informationobject/actions/listAction.class.php     
Fri Oct 23 21:24:30 2009        (r3820)
@@ -74,7 +74,7 @@
     $search = new QubitSearch;
 
     $query = new Zend_Search_Lucene_Search_Query_Boolean;
-    $query->addSubquery(new Zend_Search_Lucene_Search_Query_Term(new 
Zend_Search_Lucene_Index_Term($request->id, 'parentId')));
+    $query->addSubquery(new Zend_Search_Lucene_Search_Query_Term(new 
Zend_Search_Lucene_Index_Term($request->id, 'parentId')), true);
 
     if (isset($request->query))
     {

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to