Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SOLVED - Expiry system problem and Unknown status in search results
#1
Hey there,

You can have the functionality of expired status by modifying the line 429 in Core/inc.ClassDocument.php like this:

Code:
$lc->setStatus(S_EXPIRED,"",$this->getOwner());

and line 434 :
Code:
$lc->verifyStatus(true,$this->getOwner());

This makes the entire expire system work.

To make the status display properly in search results, modify op/op.Search.php :

change
Code:
print "<td>".getOverallStatusText($lc->getStatus()). "</td>";
to:
Code:
$display_status=$lc->getStatus();
print "<td>".getOverallStatusText($display_status["status"]). "</td>";

Regards,
Mak.
Reply
#2
I added this for the next release
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)