From 6813b59c4da2cd3c6b0c96fb891dd6e148d452f5 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Thu, 19 Nov 2009 18:48:15 +0000
Subject: [PATCH] Fix so that comments are marked as viewed when using next and
 previous links

---
 application/modules/courses/views/scripts/view/index.phtml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/modules/courses/views/scripts/view/index.phtml b/application/modules/courses/views/scripts/view/index.phtml
index b21434c7..403de4a9 100644
--- a/application/modules/courses/views/scripts/view/index.phtml
+++ b/application/modules/courses/views/scripts/view/index.phtml
@@ -153,10 +153,10 @@ $this->layout()->breadcrumbs = array($breadcrumb . ': ' . $this->course->getCour
         </div>
     </div>
     <?php if ($this->prevRequestId > 0) { ?>
-    <a id="prevRequestLink" href="<?php echo $this->url(array('id' => $this->prevRequestId)); ?>">&lt;--Prev</a>
+    <a id="prevRequestLink" href="<?php echo $this->url(array('module' => 'requests', 'id' => $this->prevRequestId)); ?>">&lt;--Prev</a>
     <?php } ?>
     <?php if ($this->nextRequestId > 0) { ?>
-    <a id="nextRequestLink" href="<?php echo $this->url(array('id' => $this->nextRequestId)); ?>">Next--&gt;</a>
+    <a id="nextRequestLink" href="<?php echo $this->url(array('module' => 'requests', 'id' => $this->nextRequestId)); ?>">Next--&gt;</a>
     <?php } ?>
     
     <?php if($this->canEdit) { ?>
-- 
GitLab