From b6f6e7a1ff1a93f7905f5d36cc8e9d292efb2a7d Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 17 Oct 2012 09:13:24 +0000 Subject: [PATCH] Fixed issue in the portal: the list of opened requests and closed request where messed up when pagination was activated on both lists -reintegrated from trunk SVN:1.2.1[2269] --- application/portalwebpage.class.inc.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/application/portalwebpage.class.inc.php b/application/portalwebpage.class.inc.php index 4e03c0d8aa..a005d03e3c 100644 --- a/application/portalwebpage.class.inc.php +++ b/application/portalwebpage.class.inc.php @@ -273,13 +273,9 @@ EOF { // Home-made and very limited display of an object set - // - //$oSet->Seek(0);// juste pour que le warning soit moins crado - //$oSet->Fetch();// juste pour que le warning soit moins crado - // - - $this->add("
\n"); - cmdbAbstractObject::DisplaySet($this, $oSet, array('currentId' => "listOf$sClass", 'menu' => false, 'zlist' => false, 'extra_fields' => implode(',', $aZList))); + $sUniqueId = $sClass.$this->GetUniqueId(); + $this->add("
\n"); // The id here MUST be the same as currentId, otherwise the pagination will be broken + cmdbAbstractObject::DisplaySet($this, $oSet, array('currentId' => $sUniqueId, 'menu' => false, 'zlist' => false, 'extra_fields' => implode(',', $aZList))); $this->add("
\n"); } else