#475: WebSearch: display Discussion (N) on detailed record pages
--------------------------+----------------------
Reporter: simko | Owner: rajimene
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: WebSearch | Version:
Resolution: fixed | Keywords:
--------------------------+----------------------
Changes (by Raquel Jimenez Encinar <raquel.jimenez.encinar@…>):
* status: in_merge => closed
* resolution: => fixed
Comment:
In [bec26208e6b01b371d2199fb895f2fa924bb2ce0]:
{{{
#!CommitTicketReference repository=""
revision="bec26208e6b01b371d2199fb895f2fa924bb2ce0"
WebSearch: display Discussion(N) in tab header
* Calculates number of comments and reviews for the given record
and shows it in the "Discussion (N)" tab on detailed record page.
(closes #475)
* Shows number of comments and reviews after clicking on this tab
taking into account the comments and reviews deleted.
* Refactors code, creates function called "get_detailed_page_tabs_counts"
in file "websearchadminlib.py".
* Deletes functions "count_commments(recID)" and "count_reviews(recID)"
in file "webcomment.py" because they were not used in any module and
they do the same funcionality that "get_nb_comments()" and
"get_nb_reviews()" respectively.
}}}
--
Ticket URL: </ticket/475#comment:9>
Invenio <http://invenio-software.org>