Insights / Structured content

Views: reuse the query and pager

Drupal node · Without Canvas

Drupal selects content; the frontend does not duplicate the View filters.

A real View

ntt_demo_insights selects published NTT Insight nodes in the current language. lupus_decoupled_views delivers its CE page display with teasers and a pager.

3 + 3 + 1 items

Browse all three pages and reload the second. The page parameter preserves context. Drupal runs the query; Next.js constructs links from the pager data.

Different from requesting resources

JSON:API also supports querying and paginating entities. CE API reuses the configured View and its presentation here; it is not a JSON:API query reconstructed in React.

Tested scope

We verify this page listing in both languages, not every Views plugin, AJAX filters or Views embedded in Canvas.

Explore the explanation and real example

Back to insights ↗