Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
When using ajax views the dynamic views reference setting plugins do not apply their changes to the results. For example when you enable a pager for the view, the code in the field formatter does not run.
Proposed resolution
If we want to change ajax views, we need to implement a regular view hook and somehow let views know that it is embedded in a viewsreference field.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2923147-2.patch | 4.56 KB | seanB |
Comments
Comment #2
seanBHere is a patch to fix the issue. We need to pass the data from the formatter to views and pass the data from views to the ajax route. Needed to jump through some hoops to get it done but it works!
Comment #4
seanBFixed in the latest dev.