inveniosoftware / invenio

Invenio digital library framework
https://invenio.readthedocs.io
MIT License
620 stars 291 forks source link

References tab does not show count when browsing files tab #981

Open jmartinm opened 10 years ago

jmartinm commented 10 years ago

Originally on 2012-03-30

When viewing the detailed record format of a record, the references tab shows the count References (175), but if one clicks on the files tab the References tab does not show the count anymore.

An example can be found here: https://inspirehep.net/record/945360/

jeromecaffaro commented 10 years ago

Originally on 2012-04-02

Should be added in [source:modules/websubmit/lib/websubmit_webinterface.py@ab3e5cd2475707876a1ffd8e8a8ad7899f6e2ed5#L25 websubmit_webinterface.WebInterfaceFilesPages._lookup.getfile(..)]

Looking at 53eeee83 it seems that references counts (and other counts) would also miss from other tabs: plots, keywords and holdings (each initialized in its own module).

Note that some refactoring was done with bec26208 to centralize and facilitate counts.