Index: trunk/kernel/include/parseditem.php
===================================================================
diff -u -r29 -r80
--- trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 29)
+++ trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 80)
@@ -2695,11 +2695,13 @@
function LoadSearchItems($attribs = array())
{
global $CountVal, $objSession;
-
+ //echo "Loading ".get_class($this)." Search Items
";
$sql = $this->SqlSearchItems($attribs);
+ //echo "$sql
";
$this->Query_Item($sql);
$Keywords = GetKeywords($objSession->GetVariable("Search_Keywords"));
- for($i=0;$i<$this->NumItems(); $i++)
+ //echo "SQL Loaded ItemCount (".get_class($this).'): '.$this->NumItems().'
';
+ for($i = 0; $i < $this->NumItems(); $i++)
{
$this->Items[$i]->Keywords = $Keywords;
}