Author: sevein
Date: Thu May 3 16:23:08 2012
New Revision: 11621
Log:
Cosmetic changes
Modified:
branches/2.0/apps/qubit/modules/term/actions/browseTermAction.class.php
branches/2.0/apps/qubit/modules/term/templates/browseTermSuccess.php
Modified:
branches/2.0/apps/qubit/modules/term/actions/browseTermAction.class.php
==============================================================================
--- branches/2.0/apps/qubit/modules/term/actions/browseTermAction.class.php
Thu May 3 16:22:11 2012 (r11620)
+++ branches/2.0/apps/qubit/modules/term/actions/browseTermAction.class.php
Thu May 3 16:23:08 2012 (r11621)
@@ -65,8 +65,8 @@
{
$this->filters[$param][] = $facetValue;
- $queryBool->addMust(new Elastica_Query_Term(
- array(strtr($param, '_', '.') => $facetValue)));
+ $queryBool->addMust(new Elastica_Query_Term(array(
+ strtr($param, '_', '.') => $facetValue)));
}
}
}
@@ -103,7 +103,6 @@
return;
}
- // mock up a QubitPager for partial template backward compatibility
$this->pager = new QubitSearchPager($resultSet);
$this->pager->setPage($request->page ? $request->page : 1);
$this->pager->setMaxPerPage($request->limit);
Modified: branches/2.0/apps/qubit/modules/term/templates/browseTermSuccess.php
==============================================================================
--- branches/2.0/apps/qubit/modules/term/templates/browseTermSuccess.php
Thu May 3 16:22:11 2012 (r11620)
+++ branches/2.0/apps/qubit/modules/term/templates/browseTermSuccess.php
Thu May 3 16:23:08 2012 (r11621)
@@ -71,9 +71,9 @@
<div class="listings">
- <?php foreach ($pager->getResults() as $hit): ?>
+ <?php foreach ($pager->getResults() as $item): ?>
- <?php $doc = build_i18n_doc($hit, array('creators')) ?>
+ <?php $doc = build_i18n_doc($item, array('creators')) ?>
<?php echo include_partial('search/searchResult', array('doc' =>
$doc, 'pager' => $pager)) ?>
<?php endforeach; ?>
--
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.