Problem/Motivation

Sometimes function _socialbase_node_get_comment_count takes too much time to execute, it even can take half of the page response time.

Proposed resolution

Use the `comment_count` property of the comment field.

Issue fork socialbase-3259745

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tBKoT created an issue. See original summary.

tbkot’s picture

Status: Active » Needs review
StatusFileSize
new1.53 KB
tbkot’s picture

StatusFileSize
new1.54 KB
ressinel’s picture

Version: 1.3.x-dev » 2.1.x-dev

  • tBKoT authored 6d83d84 on 2.1.x
    Issue #3259745 by tBKoT: Use commen_count property instead of function
    
ressinel’s picture

Status: Needs review » Reviewed & tested by the community
ressinel’s picture

Status: Reviewed & tested by the community » Fixed

It will be released in Social Base 2.1.5

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.