Problem/Motivation

I am using \Drupal::service('prev_next.helper')->getPrevnextId($nid, 'next');
to get the next node id
However the database has the next numerical nid no matter what in the table.
E.g. node 2 is a blog post that should have indexed nids
The above method returns node 3 even though node 3 is a landing page.

On my local I tried truncating the table, but the table would not repopulate without resaving the content.
Cron did not work.
After truncation the table seems to populate correctly.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

nicxvan created an issue.