Views total count does not reflect after permission change

Created on 26 May 2024, about 1 month ago

Problem/Motivation

The @total count of summary in views doesn't reflect the newest change on node_access permissions.

Steps to reproduce

  1. Create two nodes with permission access on node_access in custom.module
  2. Create views list with @total summary listed, and set the permission handler at /admin/config/system/views-entity-access-check
  3. Check the page with and without adjustment of the node_access on node, you should see the total count does not reflect on page refresh

Proposed resolution

minus one from total rows

  $view->total_rows--;

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

0.0

Component

Code

Created by

πŸ‡ΉπŸ‡ΌTaiwan g-brodiei

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024