The document count on the project summary page
inaccurately includes directories. The code
in /projects/Proj_view/index.php
has a SQL statement (line 295) as follows:
$sql="select count(*) from documents where
aproj=$proj";
To exclude directories, change to the following:
$sql="select count(*) from documents where aproj=$proj
and type != 'directory'";
This same SQL statement is
in /projects/Proj_Delete/index.php (line 42)
Changing it here would change the count on the warning
regarding deletion of a project. I did not change it in
mine (mostly because it is minor).
Logged In: YES
user_id=341406
That was the intended behaviour. Someone may be preparing
for an upload or some projadmin may be creating the document
structure and you couldn't tell by looking the parent
directory of the whole structure. True, that results in an
inaccurate *document* count per se, but we considered that
to be better than not counting them at all (and there's no
room in the table to be explicit).