'Recent Items' fails to show list of Recent Items
Overview
The Recent Items block fails to show the list of recent items, it only shows the current user. It is not manifest on the demo site (CiviCRM Sandbox on Drupal), but is manifest on drupal9-clean civibuild installation, both under Ubuntu 20.4 and ported to Windows. It is also manifest on a Drupal 9 installation running CiviCRM 5.34.0.
See StackExchange entry Recent Items Block Does Not Show Recent Items Unless There Are Report Results
Reproduction steps
- Click on Search -> Find Contacts.
- Go to a contact and click View.
- Contact name does not appear in Recent Items.
Current behaviour
Contact name does not appear in Recent Items, only the user.
Expected behaviour
The contact name should appear in Recent Items.
Environment information
- Browser: MS Edge but probably irrelevant.
- CiviCRM: 5.36.alpha1/5.34.0
- PHP: 7.3/7.4_ but probably irrelevant
- CMS: Drupal 9.x
- Database: MySQL 8.x. but probably irrelevant
- Web Server: Apache 2.4/IIS 10 but probably irrelevant.
Comments
It may be that I am missing some CiviCRM setting or something really obvious. It seemed a good idea to flag the issue so as to create a branch name should it be necessary to create a pull request to solve the issue as I plan to do further research on it.