We are using Drupal 8.0.0-beta15
Although the pager works as expected, including ajax, the more link doesn't. It just links back to the same page with the same first n nodes, both with and without ajax.
We have tried all possible variations of pager, more and ajax settings without success. The problem is the same for embedded displays.
Heres the yml of my view.
uuid: 911eca34-3bda-4168-9c5d-9310dc395af7
langcode: de
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- node.type.essay
module:
- node
- user
id: a_test
label: 'A test'
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Anwenden
reset_button: false
reset_button_label: Zurücksetzen
exposed_sorts_label: 'Sortieren nach'
expose_sort_order: true
sort_asc_label: Aufsteigend
sort_desc_label: Absteigend
pager:
type: full
options:
items_per_page: 10
offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Elemente pro Seite'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- Alle -'
offset: false
offset_label: Offset
tags:
previous: '‹ vorherige Seite'
next: 'nächste Seite ›'
first: '« erste Seite'
last: 'letzte Seite »'
quantity: 9
style:
type: default
row:
type: 'entity:node'
options:
view_mode: teaser
fields:
title:
id: title
table: node_field_data
field: title
entity_type: node
entity_field: title
label: ''
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
exclude: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_alter_empty: true
click_sort_column: value
type: string
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
filters:
status:
value: true
table: node_field_data
field: status
plugin_id: boolean
entity_type: node
entity_field: status
id: status
expose:
operator: ''
group: 1
type:
id: type
table: node_field_data
field: type
value:
essay: essay
entity_type: node
entity_field: type
plugin_id: bundle
sorts:
created:
id: created
table: node_field_data
field: created
order: DESC
entity_type: node
entity_field: created
plugin_id: date
relationship: none
group_type: group
admin_label: ''
exposed: false
expose:
label: ''
granularity: second
title: 'A test'
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
use_more: true
use_more_always: true
use_more_text: more
cache_metadata:
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- 'user.node_grants:view'
- user.permissions
cacheable: false
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: test
cache_metadata:
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- 'user.node_grants:view'
- user.permissions
cacheable: false
Comments
Comment #2
mnshantz commentedI am noticing the same issue with Drupal 7.41 and Views 3.11. The pager works fine but the more link doesn't, it just shows the same page.
Comment #3
lendudeMoving to the right queue
Comment #4
larowlanDoes it happen when you disable the caching on the view see #1819538: More link disappears when time-based views cache is enabled
Comment #8
reddyweb commentedYes, still this issue exist even after disable views cache in Drupal 8.8.0
If we create a view with 2 pages (first is with display specified number of items, and more link 'Yes', and 2nd page create as Archive page), and the more link always redirect to same page, and no option to link to Archive page.
Comment #10
pameeela commentedThanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.
As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)".
I have found that this is a duplicate of #1427854: "More link" option should have configurable target for views page displays, so I'm marking the issue "Closed (duplicate)" and have updated that issue to link it to this one and to transfer credit for bird-cage for reporting it.
Thanks!