Author: david
Date: Thu Oct 22 14:28:12 2009
New Revision: 3799

Log:
Use getPublicationStatus() method to determine descriptions publication status.

Modified:
   trunk/apps/qubit/modules/search/templates/searchSuccess.php

Modified: trunk/apps/qubit/modules/search/templates/searchSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/searchSuccess.php Thu Oct 22 
13:25:45 2009        (r3798)
+++ trunk/apps/qubit/modules/search/templates/searchSuccess.php Thu Oct 22 
14:28:12 2009        (r3799)
@@ -8,7 +8,7 @@
   <div class="search-results" style="padding-top: 5px;">
 
     <h3><?php echo link_to(render_title($informationObject), array('module' => 
'informationobject', 'action' => 'show', 'id' => $informationObject->id)) ?>
-        <?php $status = $informationObject->getStatus(array('typeId' => 
QubitTerm::STATUS_TYPE_PUBLICATION_ID)) ?>
+        <?php $status = $informationObject->getPublicationStatus() ?>
         <?php if ($status->statusId == 
QubitTerm::PUBLICATION_STATUS_DRAFT_ID): ?><span class="note2"><?php echo ' 
('.$status->status.')' ?></span><?php endif; ?></h3>
 
     <div class="CRUD_summary">

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