Author: jablko
Date: Tue Sep 22 11:13:38 2009
New Revision: 3466

Log:
Add actors and repositories to ->populate(), fixes issue 988

Modified:
   trunk/lib/search/QubitSearch.class.php

Modified: trunk/lib/search/QubitSearch.class.php
==============================================================================
--- trunk/lib/search/QubitSearch.class.php      Tue Sep 22 00:02:44 2009        
(r3465)
+++ trunk/lib/search/QubitSearch.class.php      Tue Sep 22 11:13:38 2009        
(r3466)
@@ -39,6 +39,13 @@
     $this->getLogger()->log('Index erased.', $this->getName());
 
     $criteria = new Criteria;
+    foreach (QubitActor::get($criteria) as $actor)
+    {
+      $actor->updateLuceneIndex();
+      $this->getLogger()->log('"'.$actor.'" inserted.', $this->getName());
+    }
+
+    $criteria = new Criteria;
     foreach (QubitInformationObject::get($criteria) as $informationObject)
     {
       SearchIndex::updateTranslatedLanguages($informationObject);

--~--~---------~--~----~------------~-------~--~----~
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