OCS counter presentations and archives

I am in OCS 2.3.6.
I would like to add counter for presentations and archives in Director account.
Then I applied the codes here:

http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=10334&sid=6ef6990f3d9d5b709eb37351ec6cecf8

It was successful in 2.3.4 last time.

But now the counter results still (0) even I have data in archives.

How can I get the counter for presentations and archives.

Regards, Waluyo

Hi Waluyo,

I don’t recall that code changing between OCS 2.3.4 and 2.3.6; did you extract your modifications from the system using “diff” to compare your 2.3.4 install against the distribution version of OCS 2.3.4? I suspect you’ll have better luck if you use diff and patch to migrate your changes.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec,
All the same with what I did in ocs 2.3.4
However it is now working after I changed:

// Fetch a count of submissions in archives.
   AND e2.edit_id IS NULL
   AND e.edit_id IS NULL

from

   AND e2.edit_id IS NULL
   AND e.edit_id IS NOT NULL

Regards, Waluyo