Author: sevein
Date: Fri Apr 20 14:47:33 2012
New Revision: 11484
Log:
Fixes in pager class and taxonomy browser
Modified:
branches/2.0/apps/qubit/modules/taxonomy/actions/browseAction.class.php
branches/2.0/apps/qubit/modules/taxonomy/templates/browseSuccess.php
branches/2.0/lib/QubitSearchPager.class.php
Modified:
branches/2.0/apps/qubit/modules/taxonomy/actions/browseAction.class.php
==============================================================================
--- branches/2.0/apps/qubit/modules/taxonomy/actions/browseAction.class.php
Fri Apr 20 14:46:38 2012 (r11483)
+++ branches/2.0/apps/qubit/modules/taxonomy/actions/browseAction.class.php
Fri Apr 20 14:47:33 2012 (r11484)
@@ -41,7 +41,7 @@
protected function earlyExecute()
{
// Determine what kind of term we are browsing
- switch ($request->id)
+ switch ($this->request->id)
{
case QubitTaxonomy::SUBJECT_ID:
$this->field = 'subjects';
Modified: branches/2.0/apps/qubit/modules/taxonomy/templates/browseSuccess.php
==============================================================================
--- branches/2.0/apps/qubit/modules/taxonomy/templates/browseSuccess.php
Fri Apr 20 14:46:38 2012 (r11483)
+++ branches/2.0/apps/qubit/modules/taxonomy/templates/browseSuccess.php
Fri Apr 20 14:47:33 2012 (r11484)
@@ -32,7 +32,6 @@
<?php echo get_partial('default/pager', array('pager' => $pager)) ?>
-
</div>
</div>
Modified: branches/2.0/lib/QubitSearchPager.class.php
==============================================================================
--- branches/2.0/lib/QubitSearchPager.class.php Fri Apr 20 14:46:38 2012
(r11483)
+++ branches/2.0/lib/QubitSearchPager.class.php Fri Apr 20 14:47:33 2012
(r11484)
@@ -23,8 +23,9 @@
$nbResults = null,
$resultSet;
- public function __construct()
+ public function __construct(Elastica_ResultSet $resultSet)
{
+ $this->resultSet = $resultSet;
}
public function init()
--
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.