Author: david
Date: Thu Feb 9 21:03:30 2012
New Revision: 10837
Log:
Successfull update of small subset of index fields
Modified:
trunk/lib/QubitSearchPdo.class.php
Modified: trunk/lib/QubitSearchPdo.class.php
==============================================================================
--- trunk/lib/QubitSearchPdo.class.php Thu Feb 9 21:01:53 2012 (r10836)
+++ trunk/lib/QubitSearchPdo.class.php Thu Feb 9 21:03:30 2012 (r10837)
@@ -166,9 +166,9 @@
$doc->addField(Zend_Search_Lucene_Field::UnIndexed('parent_id',
$resource->parent_id));
$doc->addField(Zend_Search_Lucene_Field::Keyword('parent',
$resource->parent->slug));
- // Collection root
+ // Set collection root
if (QubitInformationObject::ROOT_ID == $resource->parent_id &&
- (!isset(self::$collectionRoot->id) || self::$collectionRoot->id !=
$resource->id))
+ (!isset(self::$collectionRoot) || self::$collectionRoot->id !=
$resource->id))
{
self::$collectionRoot = $resource;
}
--
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.com/group/qubit-commits?hl=en.