On Tue, 28 Jan 2014, Theodoros Theodoropoulos wrote:
> While trying to see how custom statistics work in Invenio, I was
> wondering what are the 'allowed' param values in webstat.cfg
Any parameter value of MEDIUMTEXT type is allowed in custom events. It
is up to the caller to pass proper desired value when registering the
event.
In the case of "websubmissions", the caller passes doctype's long name
as doctype indeed:
$ git grep -n websubmissions modules/websubmit/
modules/websubmit/lib/websubmit_engine.py:1210:
register_customevent("websubmissions",
[get_longname_of_doctype(doctype)])
> instead of the doctype 'code' that one would expect...
Yes, I agree.
Best regards
--
Tibor Simko